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