iwmlib/rollup.config.js

26 lines
538 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
}
}
]