fix: ignore import failure during HMR update with esm output (#19832)

This commit is contained in:
Sergei Slipchenko 2025-08-25 14:46:52 +04:00 committed by GitHub
parent 500b22c42d
commit c1803e4b37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class ModuleChunkLoadingRuntimeModule extends RuntimeModule {
RuntimeGlobals.getUpdateManifestFilename
}()).then(${runtimeTemplate.basicFunction("obj", [
"return obj.default;"
])});`
])}, ${runtimeTemplate.basicFunction("", "")});`
])};`
])
: "// no HMR manifest"