1
0
Fork 0

wrench: Added minifier

This commit is contained in:
Joost De Cock 2019-03-17 17:49:04 +01:00
parent 2ca09ceee0
commit e4cfdfc7ee

View file

@ -10,11 +10,11 @@ export default {
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
//minify({
// comments: false,
// sourceMap: true,
// banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
//})
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/bent", "@freesewing/plugin-bundle"],
output: {