Skip to content

Commit

Permalink
fix(nextjs-mf): delete duplicate code lines in nextjs-mf (#2499)
Browse files Browse the repository at this point in the history
Co-authored-by: Zack Jackson <[email protected]>
  • Loading branch information
chussum and ScriptedAlchemy authored May 20, 2024
1 parent 314243f commit b3530d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/poor-dots-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@module-federation/nextjs-mf': patch
---

fix(nextjs-mf): delete duplicate code lines
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class NextFederationPlugin {
],
//@ts-ignore
exposes: {
...(this._extraOptions.skipSharingNextInternals ? {} : defaultExpose),
...defaultExpose,
...this._options.exposes,
...(this._extraOptions.exposePages
? exposeNextjsPages(compiler.options.context as string)
Expand Down

0 comments on commit b3530d7

Please sign in to comment.