Switch to handrolled semver implementation

This commit is contained in:
Bán Dénes 2022-01-23 21:45:09 +01:00
parent 2b98b502d6
commit 06d2ae4a7f
8 changed files with 48 additions and 71 deletions

View file

@ -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: [