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