Skip to content

docs: update documentation for configuration options and add new entries#4534

Merged
2heal1 merged 3 commits intomainfrom
docs/complement
Mar 13, 2026
Merged

docs: update documentation for configuration options and add new entries#4534
2heal1 merged 3 commits intomainfrom
docs/complement

Conversation

@2heal1
Copy link
Copy Markdown
Member

@2heal1 2heal1 commented Mar 12, 2026

Description

update documentation for configuration options and add new entries

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 12, 2026

⚠️ No Changeset found

Latest commit: f323cc1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 12, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit f323cc1
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69b3c64ae187fd00087034e7
😎 Deploy Preview https://deploy-preview-4534--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9682d50a0e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

"name": "treeShakingSharedPlugins",
"label": "treeShakingSharedPlugins"
}
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove invalid trailing comma in zh configure meta JSON

The updated apps/website-new/docs/zh/configure/_meta.json now ends with }, immediately before the closing ], which makes the file invalid JSON. Any docs build/runtime path that parses this as JSON (e.g., via JSON.parse or JSON module loading) will fail before rendering the zh configure navigation, so this change can break the website/docs pipeline rather than just display order.

Useful? React with 👍 / 👎.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 12, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@dea9496

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@dea9496

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@dea9496

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/@module-federation/data-prefetch@dea9496

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@dea9496

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@dea9496

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@dea9496

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@dea9496

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@dea9496

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@dea9496

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@dea9496

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@dea9496

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@dea9496

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@dea9496

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@dea9496

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@dea9496

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@dea9496

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@dea9496

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@dea9496

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@dea9496

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@dea9496

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@dea9496

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@dea9496

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@dea9496

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@dea9496

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@dea9496

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@dea9496

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@dea9496

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@dea9496

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@dea9496

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@dea9496

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@dea9496

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@dea9496

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@dea9496

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@dea9496

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@dea9496

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@dea9496

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@dea9496

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@dea9496

commit: dea9496

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 12, 2026

Bundle Size Report

12 package(s) changed, 28 unchanged.

Package dist + ESM entry

Package Total dist (raw) Delta ESM gzip Delta
@module-federation/cli 26.7 kB no change 786 B no change
@module-federation/core 39.1 kB no change 173 B no change
@module-federation/devtools 4.80 MB -7765 B (-0.2%) 0 B no change
@module-federation/dts-plugin 300.2 kB +1.8 kB (+0.6%) 4.5 kB +222 B (+5.0%)
@module-federation/enhanced 810.8 kB -9195 B (-1.1%) 712 B no change
@module-federation/managers 69.9 kB no change 334 B no change
@module-federation/manifest 138.4 kB no change 182 B no change
@module-federation/metro-plugin-rnc-cli 0 B no change 314 B no change
@module-federation/node 189.2 kB +754 B (+0.4%) 217 B no change
@module-federation/sdk 118.6 kB +181 B (+0.1%) 798 B no change
@module-federation/storybook-addon 76.5 kB no change 100 B no change
@module-federation/utilities 110.6 kB no change 328 B no change

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@module-federation/cli 2.3 kB -32 B (-1.4%) 2.3 kB -32 B (-1.4%)
@module-federation/core 1.1 kB -30 B (-2.7%) 1.0 kB -29 B (-2.7%)
@module-federation/devtools n/a n/a n/a n/a
@module-federation/dts-plugin 13.8 kB +124 B (+0.9%) 13.8 kB +124 B (+0.9%)
@module-federation/enhanced 5.9 kB -56 B (-0.9%) 5.9 kB -56 B (-0.9%)
@module-federation/managers 2.4 kB -25 B (-1.0%) 2.4 kB -25 B (-1.0%)
@module-federation/manifest 6.2 kB -37 B (-0.6%) 6.2 kB -37 B (-0.6%)
@module-federation/metro-plugin-rnc-cli 411 B -25 B (-5.7%) 411 B -25 B (-5.7%)
@module-federation/node 9.2 kB -27 B (-0.3%) 9.2 kB -27 B (-0.3%)
@module-federation/sdk 4.4 kB no change 5.3 kB no change
@module-federation/storybook-addon 1.9 kB -23 B (-1.2%) 1.7 kB -23 B (-1.3%)
@module-federation/utilities 2.6 kB -31 B (-1.2%) 2.6 kB -31 B (-1.2%)

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 19.1 kB -15 B (-0.1%) 20.1 kB -20 B (-0.1%) +1.0 kB -5 B

Total dist (raw): 10.62 MB (-14203 B (-0.1%))
Total ESM gzip: 69.0 kB (+222 B (+0.3%))
Total web bundle (gzip): 158.7 kB (-162 B (-0.1%))
Total node bundle (gzip): 159.3 kB (-161 B (-0.1%))
Tracked ./bundler entry gzip: 556 B (no change)
Tracked ./bundler web bundle (gzip): 4.5 kB (no change)
Tracked ./bundler node bundle (gzip): 4.5 kB (no change)

Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as ./bundler are measured separately so ENV_TARGET-driven tree-shaking is visible. Bare imports are externalized to keep package-level sizes consistent, and assets are emitted as resources.

@2heal1 2heal1 merged commit c893a06 into main Mar 13, 2026
24 checks passed
@2heal1 2heal1 deleted the docs/complement branch March 13, 2026 08:18
@2heal1 2heal1 mentioned this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant