diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 072fe134..b85c2ce0 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -48,7 +48,9 @@ module.exports = { }, minimizer: [ (compiler) => () => { - new TerserPlugin({ terserOptions: { sourceMap: true } }).apply(compiler); + new TerserJsPlugin({ terserOptions: { sourceMap: true } }).apply( + compiler + ); }, new CssMinimizerPlugin({}), ],