2019-03-22 12:54:57 +01:00
|
|
|
// 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
|
|
|
|
}
|
2019-07-05 08:43:23 +02:00
|
|
|
}]
|