Skip to content

Commit 4b295bb

Browse files
committed
Switches back to Terser for webviews (smaller)
1 parent efcc3ca commit 4b295bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ function getWebviewsConfig(mode, env) {
402402
mode === 'production'
403403
? [
404404
new TerserPlugin({
405-
minify: TerserPlugin.swcMinify,
405+
// Terser seems better than SWC for minifying the webviews (esm?)
406+
// minify: TerserPlugin.swcMinify,
406407
extractComments: false,
407408
parallel: true,
408409
terserOptions: {

0 commit comments

Comments
 (0)