From b9069aee835992f1167f3444c06fbbbb056feabd Mon Sep 17 00:00:00 2001 From: Joel Denning Date: Mon, 7 Oct 2024 14:33:18 -0600 Subject: [PATCH] Support for inheriting scopes in overridden modules --- src/import-map-injector.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import-map-injector.ts b/src/import-map-injector.ts index efcc977..55ab10a 100644 --- a/src/import-map-injector.ts +++ b/src/import-map-injector.ts @@ -63,6 +63,7 @@ injectorImportMaps.forEach((scriptEl) => { if (window["importMapOverrides"]) { importMapJsons.push(window["importMapOverrides"].getOverrideMap()); + importMapJsons.push(window["importMapOverrides"].getOverrideScopes()); } const requiresMicroTick = importMapJsons.some(