-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(module-federation): use 'hoisted' runtime for node to prevent iss…
…ues with eager sharing (#29104) ## Current Behavior SSR with Module Federation frequently encounters issues related to the eager resolution of shared packages. This has resulted in numerous erroneous behaviours including but not limited to: - Failure to start server - Failure to resolve remotes - Failure to server render remotes ## Expected Behavior Using the `'hoisted'` runtime provided by MF 2.0, we can ensure that SSR for Module Federation runs in an async environment, removing the issues surrounding eager consumption and resolution of shared modules. In testing, this has fixed the issues outlined above ## Related Issue(s) Fixes #27000 Fixes #27964
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters