fix(scripts/build): only minify with dead code elimination
This commit is contained in:
parent
497bb232ea
commit
d410656ec2
1 changed files with 1 additions and 4 deletions
|
|
@ -155,10 +155,7 @@ export default async function build(dev = Dev, log = true) {
|
|||
})
|
||||
|
||||
await bundle.write({
|
||||
minify: {
|
||||
compress: true,
|
||||
mangle: true,
|
||||
},
|
||||
minify: 'dce-only',
|
||||
exports: 'none',
|
||||
esModule: false,
|
||||
minifyInternalExports: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue