Skip to content

Commit ffaef3f

Browse files
Fix remoteEntry.js load twice (#18)
Co-authored-by: trump.wang <[email protected]>
1 parent e527232 commit ffaef3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/host/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class GlobalApp extends JSApp {
122122
const module = this.options.module || './index';
123123
const exportName = this.options.exportName || 'default';
124124

125-
await super.load();
125+
await this.loadedSource;
126126
// Initializes the share scope. This fills it with known provided modules from this build and all remotes
127127
// @ts-ignore
128128
await __webpack_init_sharing__(defaultScope);

0 commit comments

Comments
 (0)