From c82278e13d076c0fd1ade2433d2c09d1050641c7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Oct 2020 14:24:47 +0300 Subject: Cleanup webpack configuration --- webpack.config.js | 5 ++--- 1 file 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 }) ], }; -- cgit v1.2.3