-
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nextjs-mf): simplify handling of server externals (#3114)
- Loading branch information
1 parent
ac46d9e
commit d3e904b
Showing
3 changed files
with
59 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@module-federation/nextjs-mf": patch | ||
--- | ||
|
||
Support Next 15 externals configuration | ||
|
||
- Refactored external handling to dynamically find and replace the first function in the 'externals' array. | ||
- This change improves robustness by ensuring the system correctly overrides external functions regardless of their position in the list. | ||
- Maintained the existing logic to preserve intended behavior with conditions checking specific package prefixes and names. | ||
``` |
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