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 }),
|
||||
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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue