Browse Source

Switches back to Terser for webviews (smaller)

main
Eric Amodio 1 year ago
parent
commit
4b295bb6e5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      webpack.config.js

+ 2
- 1
webpack.config.js View File

@ -402,7 +402,8 @@ function getWebviewsConfig(mode, env) {
mode === 'production'
? [
new TerserPlugin({
minify: TerserPlugin.swcMinify,
// Terser seems better than SWC for minifying the webviews (esm?)
// minify: TerserPlugin.swcMinify,
extractComments: false,
parallel: true,
terserOptions: {

Loading…
Cancel
Save