diff --git a/crates/pack-core/js/src/umd/runtime-base.ts b/crates/pack-core/js/src/umd/runtime-base.ts index b72e3435f3..1fce94255c 100644 --- a/crates/pack-core/js/src/umd/runtime-base.ts +++ b/crates/pack-core/js/src/umd/runtime-base.ts @@ -133,6 +133,36 @@ function loadChunkByUrl( } browserContextPrototype.L = loadChunkByUrl; +const loadedScripts = new Map>(); + +/** + * Load an external script by creating a