replace NoErrorsPlugin && add dev eslint check

This commit is contained in:
Pan
2017-04-29 16:36:14 +08:00
parent 785c3beaf5
commit 3063d9c865
2 changed files with 10 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ module.exports = merge(baseWebpackConfig, {
}),
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
new webpack.HotModuleReplacementPlugin(),
new webpack.NoErrorsPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',