feat(rsc): register federation manifest data at runtime#13215
Draft
ScriptedAlchemy wants to merge 22 commits into
Draft
feat(rsc): register federation manifest data at runtime#13215ScriptedAlchemy wants to merge 22 commits into
ScriptedAlchemy wants to merge 22 commits into
Conversation
|
Cursor Agent can help with this pull request. Just |
Contributor
📦 Binary Size-limit
❌ Size increased by 115.00KB from 49.01MB to 49.12MB (⬆️0.23%) |
Deploying rspack with
|
| Latest commit: |
0692ec7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://69762926.rspack-v2.pages.dev |
| Branch Preview URL: | https://cursor-rsc-module-federation.rspack-v2.pages.dev |
This was referenced Mar 5, 2026
Contributor
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
1229d8d to
75f3aee
Compare
8f0f9ac to
0d5acf9
Compare
Contributor
Merging this PR will not alter performance
Comparing Footnotes
|
2fec966 to
9f9f5e9
Compare
730a705 to
ef02e4b
Compare
9f9f5e9 to
7ae73e7
Compare
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
ef02e4b to
781ad0a
Compare
7ae73e7 to
d655439
Compare
…terns-42fd' into cursor/rsc-module-federation-registration-0f08 # Conflicts: # crates/rspack_plugin_mf/src/container/container_entry_module.rs
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…/rsc-module-federation-registration-0f08
…terns-42fd' into cursor/rsc-module-federation-registration-0f08 # Conflicts: # examples/rsbuild-rsc-federation/e2e/app.spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mf-rsc-registration-runtime-plugin.jsthat reads manifest RSC metadata and registers it into__webpack_require__.rscMStack
Current stack, bottom to top:
feat(mf): layer-aware sharing and runtime scope-array supportfeat(mf): emit RSC metadata in federation manifestsfeat(rsbuild): add RSC federation host/remote examplefeat(rsbuild): add RSC federation module patternsfeat(rsc): register federation manifest data at runtime<- this PRWhy This PR Exists
This is the runtime integration step for the stack. It consumes the manifest contract from
#13203and the example surface from#13204and#13208, and registers federated RSC references at runtime without leaking__webpack_require__globally.References