mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +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, '/'),
|
}/__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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user