23 lines
449 B
JavaScript
23 lines
449 B
JavaScript
|
// rollup.config.js (building more than one bundle)
|
||
|
export default [{
|
||
|
input: './lib/bundle.js',
|
||
|
output: {
|
||
|
file: './dist/iwmlib.js',
|
||
|
format: 'iife',
|
||
|
sourcemap: false
|
||
|
},
|
||
|
watch: {
|
||
|
clearScreen: false
|
||
|
}
|
||
|
}, {
|
||
|
input: './lib/pixi/bundle.js',
|
||
|
output: {
|
||
|
file: './dist/iwmlib.pixi.js',
|
||
|
format: 'iife',
|
||
|
sourcemap: false
|
||
|
},
|
||
|
watch: {
|
||
|
clearScreen: false
|
||
|
}
|
||
|
}];
|