Ergogen reorg
This commit is contained in:
16
rollup.config.js
Normal file
16
rollup.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
|
||||
export default {
|
||||
input: 'src/ergogen.js',
|
||||
external: ['makerjs', 'js-yaml'],
|
||||
output: {
|
||||
name: 'ergogen',
|
||||
file: 'dist/bundle.js',
|
||||
format: 'umd',
|
||||
globals: {
|
||||
'makerjs': 'makerjs',
|
||||
'js-yaml': 'jsyaml'
|
||||
}
|
||||
},
|
||||
plugins: [commonjs()]
|
||||
}
|
||||
Reference in New Issue
Block a user