...
|
...
|
@@ -8,7 +8,7 @@ baseConfig.devtool = '#inline-source-map'; |
|
|
baseConfig.output.publicPath = 'http://localhost:5001/';
|
|
|
baseConfig.module.rules.push({
|
|
|
enforce: 'pre',
|
|
|
test: /\.js$/,
|
|
|
test: /(\.js|\.vue)$/,
|
|
|
exclude: /node_modules/,
|
|
|
loader: 'eslint-loader',
|
|
|
options: {
|
...
|
...
|
@@ -36,7 +36,7 @@ baseConfig.devServer = { |
|
|
|
|
|
baseConfig.plugins.push(
|
|
|
new StyleLintPlugin({
|
|
|
files: ['public/scss/**/*.css'],
|
|
|
files: ['public/scss/**/*.css', 'public/vue/**/*.vue'],
|
|
|
failOnError: true
|
|
|
}),
|
|
|
new webpack.HotModuleReplacementPlugin()
|
...
|
...
|
|