|
|
|
@ -89,12 +89,15 @@ export default (configEnv) => {
|
|
|
|
|
legacy({
|
|
|
|
|
targets: ['defaults', 'not IE 11'],
|
|
|
|
|
}),
|
|
|
|
|
eslintPlugin({
|
|
|
|
|
eslintOptions: {
|
|
|
|
|
cache: true,
|
|
|
|
|
},
|
|
|
|
|
shouldLint: (path) => /\/src\/[^?]*\.(vue|m?[jt]sx?)$/.test(path),
|
|
|
|
|
}),
|
|
|
|
|
{
|
|
|
|
|
...eslintPlugin({
|
|
|
|
|
eslintOptions: {
|
|
|
|
|
cache: true,
|
|
|
|
|
},
|
|
|
|
|
shouldLint: (path) => /\/src\/[^?]*\.(vue|m?[jt]sx?)$/.test(path),
|
|
|
|
|
}),
|
|
|
|
|
enforce: 'post',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
css: {
|
|
|
|
|
preprocessorOptions: {
|
|
|
|
|