1
0
Fork 0

feat(build): enable terser

This commit is contained in:
ssube 2020-09-06 17:06:47 -05:00
parent 4570a2c2c8
commit 6413dde256
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -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,