fix: webpackHotUpdate is not defined in HMR

This commit is contained in:
Clark Du 2018-04-11 22:35:20 +08:00
parent a565cff3f3
commit c393f2881d
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
1 changed files with 3 additions and 1 deletions

View File

@ -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