diff --git a/umd/src/AmdLoader.ts b/umd/src/AmdLoader.ts index a7e0f7e..adf71df 100644 --- a/umd/src/AmdLoader.ts +++ b/umd/src/AmdLoader.ts @@ -328,7 +328,7 @@ class AmdLoader { return m; } if (module.isResolved) { - module.importPromise = Promise.resolve(module.getExports()); + module.importPromise ??= Promise.resolve(module.getExports()); return module.importPromise; } module.importPromise = this.importAsync(module);