|
|
|
@ -41,15 +41,15 @@ module.exports = {
|
|
|
|
|
},
|
|
|
|
|
module: {
|
|
|
|
|
rules: [
|
|
|
|
|
// {
|
|
|
|
|
// test: /\.(js|vue)$/,
|
|
|
|
|
// loader: 'eslint-loader',
|
|
|
|
|
// enforce: "pre",
|
|
|
|
|
// include: [resolve('src'), resolve('test')],
|
|
|
|
|
// options: {
|
|
|
|
|
// formatter: require('eslint-friendly-formatter')
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
test: /\.(js|vue)$/,
|
|
|
|
|
loader: 'eslint-loader',
|
|
|
|
|
enforce: "pre",
|
|
|
|
|
include: [resolve('src'), resolve('test')],
|
|
|
|
|
options: {
|
|
|
|
|
formatter: require('eslint-friendly-formatter')
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ test: /\.vue$/,
|
|
|
|
|
loader: 'vue-loader',
|
|
|
|
|
options: vueLoaderConfig
|
|
|
|
|