Module federation rsc build#2
Merged
ScriptedAlchemy merged 248 commits intoFeb 18, 2026
Merged
Conversation
|
Cursor Agent can help with this pull request. Just |
🦋 Changeset detectedLatest commit: 494d849 The changes in this PR will be included in the next version bump. This PR includes changesets to release 112 packages
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 |
Rsdoctor Bundle Diff Analysis📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 bundle-diffPath:
📦 Download Diff Report: bundle-diff Bundle Diff Generated by Rsdoctor GitHub Action |
….1 (main) (web-infra-dev#8350) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin <caohuilin@bytedance.com>
…nfra-dev#8351) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin <caohuilin@bytedance.com>
…ion-rsc-build-a6af Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # pnpm-lock.yaml
Co-authored-by: Cursor <cursoragent@cursor.com>
Move MF async-startup bundle handling behind a generic server-core loader strategy hook and register the MF implementation from modernjs-v3, so core stays plugin-agnostic for containment/migration. Also switch RSC action error bodies to development-only detail and add boundary contract tests to lock this behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid calling string methods on non-string remote `external` values while replacing localhost URLs, so object remotes without an external string no longer throw at runtime. Co-authored-by: Cursor <cursoragent@cursor.com>
23160ec
into
cursor/module-federation-rsc-example-16dd
1 check passed
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
Stabilizes the Module Federation + RSC integration test (
tests/integration/rsc-mf) to pass in both development and build modes. This resolves theTypeError: __webpack_modules__[e] is not a functionin build mode and ensures remote server actions are executed on the host process via Module Federation.Key changes include:
module-federation/node/runtimePluginand RSC bridge semantics, ensuring remote actions are proxied and executed on the host.Related Links
Checklist
pnpm run change.