diff options
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webpack.common.js b/webpack.common.js index 2d2ba44a3..53480cf1b 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -17,6 +17,12 @@ module.exports = { module: { rules: [ { + test: /\.(js|vue)$/, + exclude: /node_modules/, + use: 'eslint-loader', + enforce: 'pre' + }, + { test: /\.css$/, use: [ 'vue-style-loader', |