2019-03-22 12:54:57 +01:00
|
|
|
// rollup.config.js (building more than one bundle)
|
2019-07-18 08:59:39 +02:00
|
|
|
export default [
|
|
|
|
{
|
|
|
|
input: './lib/bundle.js',
|
|
|
|
output: {
|
|
|
|
file: './dist/iwmlib.js',
|
|
|
|
format: 'iife',
|
|
|
|
sourcemap: false
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
clearScreen: false
|
|
|
|
}
|
2019-03-22 12:54:57 +01:00
|
|
|
},
|
2019-07-18 08:59:39 +02:00
|
|
|
{
|
|
|
|
input: './lib/pixi/bundle.js',
|
|
|
|
output: {
|
|
|
|
file: './dist/iwmlib.pixi.js',
|
|
|
|
format: 'iife',
|
|
|
|
sourcemap: false
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
clearScreen: false
|
|
|
|
}
|
2019-03-22 12:54:57 +01:00
|
|
|
}
|
2019-07-18 08:59:39 +02:00
|
|
|
]
|