feat(build): enable terser
This commit is contained in:
parent
4570a2c2c8
commit
6413dde256
|
@ -84,9 +84,9 @@ const bundle = {
|
|||
cacheRoot: join(targetPath, 'cache', 'rts2'),
|
||||
rollupCommonJSResolveHack: true,
|
||||
}),
|
||||
/*terser({
|
||||
terser({
|
||||
keep_classnames: true,
|
||||
}),*/
|
||||
}),
|
||||
visualizer({
|
||||
filename: join(rootPath, 'out', 'bundle-graph.html'),
|
||||
sourcemap: true,
|
||||
|
|
Loading…
Reference in New Issue