diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/webpack.config.js b/webpack.config.js index dd84eb44f8..ec0fa1ad04 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,7 +1,6 @@ import fastGlob from 'fast-glob'; import wrapAnsi from 'wrap-ansi'; import AddAssetPlugin from 'add-asset-webpack-plugin'; -import CssMinimizerPlugin from 'css-minimizer-webpack-plugin'; import LicenseCheckerWebpackPlugin from 'license-checker-webpack-plugin'; import MiniCssExtractPlugin from 'mini-css-extract-plugin'; import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'; @@ -85,20 +84,8 @@ export default { minimizer: [ new ESBuildMinifyPlugin({ target: 'es2015', - minify: true - }), - new CssMinimizerPlugin({ - minimizerOptions: { - preset: [ - 'default', - { - discardComments: { - removeAll: true, - }, - colormin: false, - }, - ], - }, + minify: true, + css: true, }), ], splitChunks: { |