aboutsummaryrefslogtreecommitdiff
path: root/build/webpack.base.conf.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
committertusooa <tusooa@kazv.moe>2023-01-15 17:02:24 +0000
commitdc897a5fef9ed10e23bee9b36ee719c31996f7a5 (patch)
tree1dad722edc84b5ba1759a13e1944167c5ffcf7c3 /build/webpack.base.conf.js
parent4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff)
parentd2ba67d565ba68acc1938dc9ae2c866a6e39d4d6 (diff)
Merge branch 'tusooa/stylelint' into 'develop'
Use stylelint Closes #1173 and #857 See merge request pleroma/pleroma-fe!1752
Diffstat (limited to 'build/webpack.base.conf.js')
-rw-r--r--build/webpack.base.conf.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js
index bf946922..7e69352a 100644
--- a/build/webpack.base.conf.js
+++ b/build/webpack.base.conf.js
@@ -6,7 +6,7 @@ var ServiceWorkerWebpackPlugin = require('serviceworker-webpack5-plugin')
var CopyPlugin = require('copy-webpack-plugin');
var { VueLoaderPlugin } = require('vue-loader')
var ESLintPlugin = require('eslint-webpack-plugin');
-
+var StylelintPlugin = require('stylelint-webpack-plugin');
var env = process.env.NODE_ENV
// check env & config/index.js to decide weither to enable CSS Sourcemaps for the
@@ -111,6 +111,7 @@ module.exports = {
extensions: ['js', 'vue'],
formatter: require('eslint-formatter-friendly')
}),
+ new StylelintPlugin({}),
new VueLoaderPlugin(),
// This copies Ruffle's WASM to a directory so that JS side can access it
new CopyPlugin({