CLI and output restructure, SVG/DXF/STL integration

This commit is contained in:
Bán Dénes 2021-07-14 19:33:33 +02:00
parent c49881c2b4
commit 42a3e2de55
7 changed files with 730 additions and 154 deletions

View file

@ -4,7 +4,7 @@ import replace from '@rollup/plugin-replace'
export default {
input: 'src/ergogen.js',
external: ['makerjs', 'js-yaml', 'mathjs'],
external: ['makerjs', 'js-yaml', 'mathjs', 'json5'],
output: {
name: 'ergogen',
file: 'dist/ergogen.js',
@ -13,7 +13,8 @@ export default {
globals: {
'makerjs': 'makerjs',
'js-yaml': 'jsyaml',
'mathjs': 'math'
'mathjs': 'math',
'json5': 'json5'
}
},
plugins: [