Webpack eslnt加载程序错误导致无法编译网页包
为什么eslint加载程序失败会导致网页包编译失败? 这是我的模块规则:Webpack eslnt加载程序错误导致无法编译网页包,webpack,eslint,Webpack,Eslint,为什么eslint加载程序失败会导致网页包编译失败? 这是我的模块规则: rules: [ { // some babel-loader configuration }, { test: /\.(ts|tsx)$/, include: /src/,
rules: [
{
// some babel-loader configuration
},
{
test: /\.(ts|tsx)$/,
include: /src/,
loader: 'eslint-loader',
options: {
fix: true,
cache: true,
// quiet: true,
// failOnError: false,
},
enforce: 'pre',
},
],
},```
I didn't use the failOnError option, but it still works.