diff --git a/config/webpack.config.js b/config/webpack.config.js index c671e49c..d955f40a 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -218,7 +218,16 @@ module.exports = function (webpackEnv) { } }), // This is only used in production mode - new CssMinimizerPlugin() + new CssMinimizerPlugin({ + minimizerOptions: { + preset: [ + "default", + { + discardComments: { removeAll: true } + } + ] + } + }) ] }, resolve: {