aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js2
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 } })
]
}