mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
webpack: remove NoEmitOnErrorsPlugin
configurable by optimization.noEmitOnErrors. on for production by default
This commit is contained in:
parent
e0a35f76eb
commit
bb0585c84d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user