aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/hmr.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/runtime/hmr.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/hmr.ts b/src/runtime/hmr.ts
index 9bfdbb77c..2726a95a1 100644
--- a/src/runtime/hmr.ts
+++ b/src/runtime/hmr.ts
@@ -1393,6 +1393,7 @@ if (typeof window !== "undefined") {
i++ // let i = HMRModule.dependencies.graph_used - 1; // i > this.module_index; // i--
) {
const mod = HMRModule.dependencies.modules[i];
+ if (!mod) continue; // this array is holey sometimes
let handled = false;
if (!mod.exports.__hmrDisable) {