Commit 0eab09d9 authored by wildfirecode13's avatar wildfirecode13

1

parent 4eef4ff0
......@@ -86,7 +86,7 @@ module.exports = function (isProd) {
rules: [
// 提前进行eslint, 默认从下往上,通过enforce pre提前
isEslint && {
test: /\.js|jsx/,
test: /\.(js|jsx)$/,
enforce: "pre",
loader: "eslint-loader",
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