-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(nextjs-mf): delete duplicate code lines in nextjs-mf #2499
fix(nextjs-mf): delete duplicate code lines in nextjs-mf #2499
Conversation
🦋 Changeset detectedLatest commit: 5ff577f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -164,7 +164,7 @@ export class NextFederationPlugin { | |||
], | |||
//@ts-ignore | |||
exposes: { | |||
...(this._extraOptions.skipSharingNextInternals ? {} : defaultExpose), | |||
...defaultExpose, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should remain here. Users may want to disable sharing defaults in next.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ScriptedAlchemy Isn't this redundant logic?
this._extraOptions.skipSharingNextInternals ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh i see, yes. ill appprove.
Description
delete duplicate code lines
already exist.
packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts: line 149
Related Issue
Types of changes
Checklist