8000 fix(module-federation): ensure manifest path not prepended with workspace root by Coly010 · Pull Request #31698 · nrwl/nx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(module-federation): ensure manifest path not prepended with workspace root #31698

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

Coly010
Copy link
Contributor
@Coly010 Coly010 commented Jun 24, 2025

Current Behavior

When users provide an absolute path for the Module Federation manifest file
that already includes the workspace root, the plugin incorrectly prepends the
workspace root again, resulting in an invalid path like
/workspace/root/workspace/root/path/to/manifest.json.

Expected Behavior

The plugin should detect if the provided manifest file path already starts with
the workspace root and avoid prepending it again. This allows users to provide
either relative or absolute paths for the manifest file, and both will work
correctly.

Related Issue(s)

Fixes #31524

@Coly010 Coly010 self-assigned this Jun 24, 2025
@Coly010 Coly010 requested a review from a team as a code owner June 24, 2025 09:25
@Coly010 Coly010 requested a review from ndcunningham June 24, 2025 09:25
Copy link
vercel bot commented Jun 24, 2025

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

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jun 24, 2025 9:37am

Copy link
nx-cloud bot commented Jun 24, 2025

View your CI Pipeline Execution ↗ for commit b136f72.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 32m 9s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 4s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 2s View ↗
nx documentation ✅ Succeeded 2m 50s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-24 10:05:00 UTC

@Coly010 Coly010 merged commit 82ddc1a into master Jun 24, 2025
8 checks passed
@Coly010 Coly010 deleted the 31524-dynamic-manifest-file-path branch June 24, 2025 13:47
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.

[HMR] - ModuleFederation on HMR for host app fails at wrong path
2 participants
0