Ergogen reorg

This commit is contained in:
Bán Dénes 2020-06-16 22:24:46 +02:00
parent cd1e10293c
commit 0ab5a246e5
14 changed files with 2289 additions and 309 deletions

16
rollup.config.js Normal file
View 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()]
}