Only apply eslint-loader to our own sources, fixing problems related to npm link

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2019-09-25 20:19:43 +02:00
parent 347bb2905d
commit c81b9ae648
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module.exports = {
use: ['vue-style-loader', 'css-loader', 'sass-loader']
},
{
test: /\.(js|vue)$/,
test: /src\/.*\.(js|vue)$/,
use: 'eslint-loader',
enforce: 'pre'
},