Skip to content
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

Conversation

chussum
Copy link
Contributor

@chussum chussum commented May 16, 2024

Description

delete duplicate code lines

already exist.
packages/nextjs-mf/src/plugins/NextFederationPlugin/index.ts: line 149

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copy link

changeset-bot bot commented May 16, 2024

🦋 Changeset detected

Latest commit: 5ff577f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@module-federation/nextjs-mf Patch

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

Copy link

netlify bot commented May 16, 2024

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 5ff577f
🔍 Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/664bba3a3e64900008ad5cc2
😎 Deploy Preview https://deploy-preview-2499--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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,
Copy link
Member

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.

Copy link
Contributor Author

@chussum chussum May 18, 2024

Choose a reason for hiding this comment

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

Copy link
Member

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.

@chussum chussum requested a review from ScriptedAlchemy May 18, 2024 00:05
@ScriptedAlchemy ScriptedAlchemy merged commit b3530d7 into module-federation:main May 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants