Skip to content

docs: update fallback field descriptions for clarity and consistency#4556

Merged
2heal1 merged 2 commits intomainfrom
docs/remove-prefetch-stats-field
Mar 17, 2026
Merged

docs: update fallback field descriptions for clarity and consistency#4556
2heal1 merged 2 commits intomainfrom
docs/remove-prefetch-stats-field

Conversation

@2heal1
Copy link
Member

@2heal1 2heal1 commented Mar 17, 2026

Description

update fallback field descriptions for clarity and consistency

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

changeset-bot bot commented Mar 17, 2026

⚠️ No Changeset found

Latest commit: f122a46

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

netlify bot commented Mar 17, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit f122a46
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69b8d2f0bbad6c0008df0971
😎 Deploy Preview https://deploy-preview-4556--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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2026

Open in StackBlitz

@module-federation/devtools

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

@module-federation/cli

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

create-module-federation

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

@module-federation/data-prefetch

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

@module-federation/dts-plugin

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

@module-federation/enhanced

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

@module-federation/error-codes

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

@module-federation/esbuild

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

@module-federation/managers

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

@module-federation/manifest

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

@module-federation/metro

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

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

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

@module-federation/metro-plugin-rnef

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

@module-federation/modern-js

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

@module-federation/modern-js-v3

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

@module-federation/native-federation-tests

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

@module-federation/native-federation-typescript

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

@module-federation/nextjs-mf

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

@module-federation/node

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

@module-federation/retry-plugin

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

@module-federation/rsbuild-plugin

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

@module-federation/rspack

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

@module-federation/rspress-plugin

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

@module-federation/runtime

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

@module-federation/runtime-core

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

@module-federation/runtime-tools

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

@module-federation/sdk

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

@module-federation/storybook-addon

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

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

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

@module-federation/treeshake-frontend

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

@module-federation/treeshake-server

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

@module-federation/typescript

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

@module-federation/utilities

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

@module-federation/webpack-bundler-runtime

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

@module-federation/bridge-react

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

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

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

@module-federation/bridge-shared

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

@module-federation/bridge-vue3

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

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

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

commit: f122a46

Copy link

@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: ff099819ea

ℹ️ 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".

Comment on lines +20 to +22
| `ssrRemoteEntry` | `ResourceInfo` | 否 | SSR remoteEntry(若有) |
| `types` | `MetaDataTypes` | 否 | 类型产物信息(若有) |
| `type` | `string` | 是 | APP | NPM |

Choose a reason for hiding this comment

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

P2 Badge Re-add prefetch fields to Chinese shared metadata table

This edit drops prefetchInterface and prefetchEntry from the Chinese “shared fields” table, so the zh docs now omit real manifest fields that still exist in the runtime/stats types (packages/sdk/src/types/stats.ts BasicStatsMetaData). Readers using the Chinese config docs will miss two optional keys that are still supported, which makes the localized schema inaccurate.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2026

Bundle Size Report

10 package(s) changed, 30 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 473.2 kB no change 3.9 kB no change
@module-federation/enhanced 810.7 kB no change 672 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 no change 217 B no change
@module-federation/storybook-addon 76.8 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 -34 B (-1.4%) 2.3 kB -34 B (-1.4%)
@module-federation/core 1.1 kB -33 B (-2.9%) 1.0 kB -32 B (-3.0%)
@module-federation/devtools 20.8 kB -27 B (-0.1%) 20.8 kB -27 B (-0.1%)
@module-federation/enhanced 3.0 kB -46 B (-1.5%) 3.0 kB -46 B (-1.5%)
@module-federation/managers 2.4 kB -28 B (-1.1%) 2.4 kB -28 B (-1.1%)
@module-federation/manifest 6.2 kB -40 B (-0.6%) 6.2 kB -40 B (-0.6%)
@module-federation/metro-plugin-rnc-cli 411 B -27 B (-6.2%) 411 B -27 B (-6.2%)
@module-federation/node 9.2 kB -30 B (-0.3%) 9.2 kB -30 B (-0.3%)
@module-federation/storybook-addon 1.9 kB -25 B (-1.3%) 1.7 kB -24 B (-1.3%)
@module-federation/utilities 2.6 kB -33 B (-1.2%) 2.6 kB -33 B (-1.2%)

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 19.5 kB -18 B (-0.1%) 20.5 kB -27 B (-0.1%) +1.0 kB -9 B

Total dist (raw): 6.31 MB (no change)
Total ESM gzip: 73.4 kB (no change)
Total web bundle (gzip): 178.1 kB (-323 B (-0.2%))
Total node bundle (gzip): 178.6 kB (-321 B (-0.2%))
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 a78f53c into main Mar 17, 2026
27 checks passed
@2heal1 2heal1 deleted the docs/remove-prefetch-stats-field branch March 17, 2026 05:58
@2heal1 2heal1 mentioned this pull request Mar 17, 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