wrench: Added minifier
This commit is contained in:
parent
2ca09ceee0
commit
e4cfdfc7ee
1 changed files with 5 additions and 5 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue