mirror of https://github.com/webpack/webpack.git
fix: ignore import failure during HMR update with esm output (#19832)
This commit is contained in:
parent
500b22c42d
commit
c1803e4b37
|
@ -411,7 +411,7 @@ class ModuleChunkLoadingRuntimeModule extends RuntimeModule {
|
|||
RuntimeGlobals.getUpdateManifestFilename
|
||||
}()).then(${runtimeTemplate.basicFunction("obj", [
|
||||
"return obj.default;"
|
||||
])});`
|
||||
])}, ${runtimeTemplate.basicFunction("", "")});`
|
||||
])};`
|
||||
])
|
||||
: "// no HMR manifest"
|
||||
|
|
Loading…
Reference in New Issue