Skip to content

Commit

Permalink
fix: Use TerserJsPlugin in Webpack build (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch authored Dec 31, 2024
1 parent 5d758c1 commit ab505ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ module.exports = {
},
minimizer: [
(compiler) => () => {
new TerserPlugin({ terserOptions: { sourceMap: true } }).apply(compiler);
new TerserJsPlugin({ terserOptions: { sourceMap: true } }).apply(
compiler
);
},
new CssMinimizerPlugin({}),
],
Expand Down

0 comments on commit ab505ca

Please sign in to comment.