diff options
author | Vitaly Takmazov | 2020-10-15 14:24:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-15 14:24:47 +0300 |
commit | c82278e13d076c0fd1ade2433d2c09d1050641c7 (patch) | |
tree | f209d98bdf0221b6d4f8d0ab5aa9e26896e74225 /webpack.config.js | |
parent | ab397f8c1128e60676e846c1c4f95e51ab63678f (diff) |
Cleanup webpack configuration
Diffstat (limited to 'webpack.config.js')
-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 }) ], }; |