diff options
-rw-r--r-- | webpack.config.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js index c12c19d8..843e9b69 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,4 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const TerserPlugin = require('terser-webpack-plugin'); const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const ESLintPlugin = require('eslint-webpack-plugin'); @@ -53,7 +52,7 @@ module.exports = (env, argv) => { postcssOptions: { plugins: [ 'stylelint', - ['postcss-preset-env', { stage: 0, autoprefixer: { grid: true } }] + 'postcss-preset-env' ] } } @@ -67,7 +66,7 @@ module.exports = (env, argv) => { ] }, plugins: [ - new MiniCssExtractPlugin({ filename: 'style.css', allChunks: true }), + new MiniCssExtractPlugin({ filename: 'style.css' }), new ESLintPlugin({ files: 'src/main/assets', lintDirtyModulesOnly: true, failOnWarning: false, failOnError: true, fix: false }) ], }; |