mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
fix: webpackHotUpdate is not defined in HMR
This commit is contained in:
parent
a565cff3f3
commit
c393f2881d
@ -51,7 +51,9 @@ export default class WebpackClientConfig extends WebpackBaseConfig {
|
||||
)
|
||||
|
||||
if (this.options.dev) {
|
||||
plugins.push(new webpack.HotModuleReplacementPlugin())
|
||||
plugins.push(new webpack.HotModuleReplacementPlugin({
|
||||
multiStep: true
|
||||
}))
|
||||
}
|
||||
|
||||
// Chunks size limit
|
||||
|
Loading…
Reference in New Issue
Block a user