diff --git a/tools/bin/webpack.config.prod.js b/tools/bin/webpack.config.prod.js index c0944eea..0827dcd2 100644 --- a/tools/bin/webpack.config.prod.js +++ b/tools/bin/webpack.config.prod.js @@ -25,7 +25,8 @@ import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'; configure.optimization.minimizer = [ new CssMinimizerPlugin(), new TerserPlugin({ - minify: TerserPlugin.swcMinify + minify: TerserPlugin.swcMinify, + terserOptions: { format: { comments: false } } }) ];