webpack: remove NoEmitOnErrorsPlugin

configurable by optimization.noEmitOnErrors. on for production by default
This commit is contained in:
Pooya Parsa 2018-02-26 14:02:40 +03:30
parent e0a35f76eb
commit bb0585c84d

View File

@ -134,10 +134,9 @@ module.exports = function webpackClientConfig() {
}/__webpack_hmr`.replace(/\/\//g, '/'),
config.entry.app
]
config.plugins.push(
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin()
)
// HMR
config.plugins.push(new webpack.HotModuleReplacementPlugin())
// DllReferencePlugin
if (this.options.build.dll) {