Skip to content

Commit

Permalink
chore: Update tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Mar 31, 2024
1 parent f99a297 commit d860f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/bin/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }
})
];

Expand Down

0 comments on commit d860f14

Please sign in to comment.