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, '/'), }/__webpack_hmr`.replace(/\/\//g, '/'),
config.entry.app config.entry.app
] ]
config.plugins.push(
new webpack.HotModuleReplacementPlugin(), // HMR
new webpack.NoEmitOnErrorsPlugin() config.plugins.push(new webpack.HotModuleReplacementPlugin())
)
// DllReferencePlugin // DllReferencePlugin
if (this.options.build.dll) { if (this.options.build.dll) {