Skip to content

Commit 1d3e5f4

Browse files
committed
fix eslint break when error happen
1 parent 4d90a7d commit 1d3e5f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webpack/webpack.common.js

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ module.exports = {
1111
test: /\.(js|jsx)$/,
1212
loader: 'eslint-loader',
1313
exclude: /(node_modules)/,
14+
options: {
15+
emitWarning: process.env.NODE_ENV !== 'production',
16+
},
1417
},
1518
{
1619
test: /\.(js|jsx)$/,

0 commit comments

Comments
 (0)