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): handle parsing static remote config correctly #30168

Merged

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Feb 25, 2025

Current Behavior

When the dist for a project lives in the projectRoot, the parseStaticRemotesConfig util function for executors is not correctly handling the outputPath and urlSegment

Expected Behavior

Ensure that the parsed config is correct regardless of whether the dist is in the projectRoot or not

Related Issue(s)

Fixes #30138

@Coly010 Coly010 requested a review from a team as a code owner February 25, 2025 11:58
@Coly010 Coly010 requested a review from FrozenPandaz February 25, 2025 11:58
@Coly010 Coly010 self-assigned this Feb 25, 2025
Copy link

vercel bot commented Feb 25, 2025

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Feb 25, 2025 2:09pm

Copy link

nx-cloud bot commented Feb 25, 2025

View your CI Pipeline Execution ↗ for commit fe807ed.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 1m 30s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 17s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 6s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 5s View ↗
nx documentation ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-25 14:50:36 UTC

@Coly010 Coly010 force-pushed the module-federation/ensure-remote-dist-copied-correctly branch from 01517bb to fe807ed Compare February 25, 2025 14:06
@Coly010 Coly010 merged commit 32341d5 into master Feb 25, 2025
12 checks passed
@Coly010 Coly010 deleted the module-federation/ensure-remote-dist-copied-correctly branch February 25, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modules are unable to be loaded when using @nx/rspack:module-federation-dev-server
2 participants