fix: eslint启动报错

environments/test/deployments/1
向文可 4 years ago
parent 5351cc4587
commit 1779cc8613

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

Loading…
Cancel
Save