diff options
author | Vitaly Takmazov | 2019-01-20 11:21:15 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:54 +0300 |
commit | ffa96cca4e2191965a3ede1a2b6b786dd8f89b35 (patch) | |
tree | b469049deb61133b010515fe57bbb892c862a4e1 /vnext/webpack.config.js | |
parent | ff17f69e7bede0f176223566abc2047d3ea2e665 (diff) |
stylelint configuration
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 3a9b2678..6dbeb98d 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -6,6 +6,7 @@ const TerserPlugin = require('terser-webpack-plugin'); const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); const postcssPresetEnv = require('postcss-preset-env'); +const stylelint = require('stylelint'); module.exports = (env, argv) => { const dev = argv.mode !== 'production'; @@ -44,6 +45,7 @@ module.exports = (env, argv) => { { loader: 'postcss-loader', options: { plugins: () => [ + stylelint(), postcssPresetEnv({ stage: 0, autoprefixer: { grid: true } }) ] } |