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(module-federation): fix static remote port determination #20432

Merged
merged 1 commit into from Nov 30, 2023

Conversation

bigcakes
Copy link
Contributor

Current Behavior

If a staticRemotesPort is not passed in to the module federation dev server and a remote's port is less than the default staticRemotesPort, undefined is return and module federation dev server fails to start

Expected Behavior

Module federation dev server starts with a calculated staticRemotesPort if it is not passed

Copy link

vercel bot commented Nov 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 30, 2023 5:33pm

@AgentEnder AgentEnder requested review from ndcunningham and Coly010 and removed request for FrozenPandaz and xiongemi November 27, 2023 18:46
Copy link
Contributor

@ndcunningham ndcunningham left a comment

Choose a reason for hiding this comment

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

LGTM, can you rebase to fix the conflicts?
thanks!

@bigcakes bigcakes force-pushed the fixModuleFederationStaticRemotes branch from 2a163f3 to ea56d05 Compare November 30, 2023 17:33
@ndcunningham ndcunningham merged commit 5308737 into nrwl:master Nov 30, 2023
6 checks passed
Copy link

github-actions bot commented Dec 6, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants