docs: publish verified Rsbuild React MF monorepo guide - #235
Merged
Conversation
|
Preview Environment Deactivated!
Details:
|
zackarychapple
marked this pull request as ready for review
July 29, 2026 18:59
zackarychapple
enabled auto-merge (squash)
July 30, 2026 20:29
Nsttt
requested changes
Jul 30, 2026
Nsttt
approved these changes
Aug 3, 2026
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.
Problem
The Rsbuild documentation needs one verified production path for a pnpm monorepo combining React, Module Federation, Zephyr remote dependencies, DTS diagnosis, watch behavior, and browser verification. The executable application must remain part of the canonical examples corpus rather than being maintained inside the documentation repository.
What this PR adds
remoteEntry.js, exposes, shared React singletons,assetPrefix: auto, TypeScript roots, released-Zephyr-compatiblename@URLremotes, async bootstrap, andwithZephyr()ordering.workspace:*, short and full UIDs,@production, and selector versus immutable version URLs.rsbuild-mf-monorepo-*application identities with explicit dependency UID mappings, while retaining the local Module Federation aliasesheaderandhero.rsbuild inspect,FEDERATION_DEBUG,.mf/typesGenerate.log, TYPE-001, and TS6059.zephyr-examplescommit.Canonical executable example
The application, lockfile, verification scripts, browser test, focused CI, root deployment assertions, and protected weekly live-publish workflow now live in
ZephyrCloudIO/zephyr-examples#191atmodule-federation/react-rsbuild-monorepo.This PR intentionally does not contain an application fixture or live fixture workflow. Merge #191 first, then update the documentation workflow from commit
c777c9fac419e674d16d8e608dc218c0e891e1e3to the resulting commit onzephyr-examples/mainbefore merging this PR.Acceptance criteria
workspace:*,@production, short/full UIDs, anddependencyUrlMode.rsbuild inspect, federation debug evidence, TYPE-001, and TS6059 reproduction.Verification
RSBUILD_MF_EXAMPLES_ROOT=../zephyr-examples pnpm verify:rsbuild-mf-guidepnpm lintpnpm buildgit diff --checkThe canonical example separately passed:
pnpm install --frozen-lockfilepnpm verify:scaffoldpnpm verifypnpm verify:browserZE_FAIL_BUILD=true pnpm run buildwith authenticated live Zephyr deploymentsLocal verification used Node 26.4.0 and emitted the expected engine warning; both repositories pin Node 24 in CI.
This PR is based on current documentation
mainand does not depend onmodule-federation/core#4947.Closes #236