mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 08:00:06 +01:00
Switch to handrolled semver implementation
This commit is contained in:
parent
2b98b502d6
commit
06d2ae4a7f
8 changed files with 48 additions and 71 deletions
|
|
@ -4,19 +4,18 @@ import commonjs from '@rollup/plugin-commonjs'
|
|||
|
||||
export default {
|
||||
input: 'src/ergogen.js',
|
||||
external: ['makerjs', 'js-yaml', 'mathjs', 'kle-serial', '@jscad/openjscad', 'semver'],
|
||||
external: ['makerjs', 'js-yaml', 'mathjs', 'kle-serial', '@jscad/openjscad'],
|
||||
output: {
|
||||
name: 'ergogen',
|
||||
file: 'dist/ergogen.js',
|
||||
format: 'umd',
|
||||
banner: `/*!\n * Ergogen v${pkg.version}\n * https://zealot.hu/ergogen\n */\n`,
|
||||
banner: `/*!\n * Ergogen v${pkg.version}\n * https://ergogen.xyz\n */\n`,
|
||||
globals: {
|
||||
'makerjs': 'makerjs',
|
||||
'js-yaml': 'jsyaml',
|
||||
'mathjs': 'math',
|
||||
'kle-serial': 'kle',
|
||||
'@jscad/openjscad': 'myjscad',
|
||||
'semver': 'semver'
|
||||
'@jscad/openjscad': 'myjscad'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue