CLI and output restructure, SVG/DXF/STL integration
This commit is contained in:
parent
c49881c2b4
commit
42a3e2de55
7 changed files with 730 additions and 154 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue