Commit 0eab09d9 authored by wildfirecode13's avatar wildfirecode13

1

parent 4eef4ff0
...@@ -86,7 +86,7 @@ module.exports = function (isProd) { ...@@ -86,7 +86,7 @@ module.exports = function (isProd) {
rules: [ rules: [
// 提前进行eslint, 默认从下往上,通过enforce pre提前 // 提前进行eslint, 默认从下往上,通过enforce pre提前
isEslint && { isEslint && {
test: /\.js|jsx/, test: /\.(js|jsx)$/,
enforce: "pre", enforce: "pre",
loader: "eslint-loader", loader: "eslint-loader",
options: { options: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment