Skip to content

Commit e3d8bb6

Browse files
committed
webui/webpack: do not extract comments
1 parent 82c8262 commit e3d8bb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/webui/webpack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ function configRelease(config)
114114
config.mode = 'production';
115115

116116
config.optimization.minimize = true;
117-
config.optimization.minimizer.push(new TerserPlugin());
117+
118+
config.optimization.minimizer.push(new TerserPlugin({
119+
extractComments: false
120+
}));
121+
118122
config.optimization.minimizer.push(new CssMinimizerPlugin());
119123

120124
config.plugins.push(new MiniCssExtractPlugin({

0 commit comments

Comments
 (0)