Showing
1 changed file
with
2 additions
and
2 deletions
@@ -8,7 +8,7 @@ baseConfig.devtool = '#inline-source-map'; | @@ -8,7 +8,7 @@ baseConfig.devtool = '#inline-source-map'; | ||
8 | baseConfig.output.publicPath = 'http://localhost:5001/'; | 8 | baseConfig.output.publicPath = 'http://localhost:5001/'; |
9 | baseConfig.module.rules.push({ | 9 | baseConfig.module.rules.push({ |
10 | enforce: 'pre', | 10 | enforce: 'pre', |
11 | - test: /\.js$/, | 11 | + test: /(\.js|\.vue)$/, |
12 | exclude: /node_modules/, | 12 | exclude: /node_modules/, |
13 | loader: 'eslint-loader', | 13 | loader: 'eslint-loader', |
14 | options: { | 14 | options: { |
@@ -36,7 +36,7 @@ baseConfig.devServer = { | @@ -36,7 +36,7 @@ baseConfig.devServer = { | ||
36 | 36 | ||
37 | baseConfig.plugins.push( | 37 | baseConfig.plugins.push( |
38 | new StyleLintPlugin({ | 38 | new StyleLintPlugin({ |
39 | - files: ['public/scss/**/*.css'], | 39 | + files: ['public/scss/**/*.css', 'public/vue/**/*.vue'], |
40 | failOnError: true | 40 | failOnError: true |
41 | }), | 41 | }), |
42 | new webpack.HotModuleReplacementPlugin() | 42 | new webpack.HotModuleReplacementPlugin() |
-
Please register or login to post a comment