From 2b5206cf3617314a74269ae2e6175fb60931d24c Mon Sep 17 00:00:00 2001 From: Wang Zhenchuan Date: Fri, 15 Jul 2022 22:47:10 +0800 Subject: [PATCH] Fix remote entry load twice (#20) * Fix `remoteEntry.js` load twice Co-authored-by: trump.wang --- packages/host/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/host/src/index.ts b/packages/host/src/index.ts index 1fd522b..4266288 100644 --- a/packages/host/src/index.ts +++ b/packages/host/src/index.ts @@ -122,7 +122,6 @@ export class GlobalApp extends JSApp { const module = this.options.module || './index'; const exportName = this.options.exportName || 'default'; - await this.loadedSource; // Initializes the share scope. This fills it with known provided modules from this build and all remotes // @ts-ignore await __webpack_init_sharing__(defaultScope);