From 3158de5063b97f9c003b4f0c607ff3d321a8269d Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Mon, 25 Nov 2024 09:31:01 -0800 Subject: [PATCH] Fix typo in hmr runtime --- packages/runtimes/hmr/src/loaders/hmr-runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtimes/hmr/src/loaders/hmr-runtime.js b/packages/runtimes/hmr/src/loaders/hmr-runtime.js index b8f0852c130..78ec83bbbed 100644 --- a/packages/runtimes/hmr/src/loaders/hmr-runtime.js +++ b/packages/runtimes/hmr/src/loaders/hmr-runtime.js @@ -637,7 +637,7 @@ function hmrAccept(bundle /*: ParcelRequire */, id /*: string */) { } }); - if (assetsToAccept.length) { + if (assetsToAlsoAccept.length) { let handled = assetsToAlsoAccept.every(function (a) { return hmrAcceptCheck(a[0], a[1]); });