Skip to content

Commit

Permalink
Fix remote entry load twice (#20)
Browse files Browse the repository at this point in the history
* Fix `remoteEntry.js` load twice

Co-authored-by: trump.wang <trump.wang@ringcentral.com>
  • Loading branch information
flowforever and WebGSPTrump authored Jul 15, 2022
1 parent ffaef3f commit 2b5206c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/host/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit 2b5206c

@vercel
Copy link

@vercel vercel bot commented on 2b5206c Jul 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.