Skip to content

docs: add multiple share scope usage#4472

Merged
danpeen merged 2 commits intomainfrom
docs/muliple-share-scope
Feb 24, 2026
Merged

docs: add multiple share scope usage#4472
danpeen merged 2 commits intomainfrom
docs/muliple-share-scope

Conversation

@2heal1
Copy link
Copy Markdown
Member

@2heal1 2heal1 commented Feb 24, 2026

Description

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.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 24, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 6f50559
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/699d807d18d02000085958ed
😎 Deploy Preview https://deploy-preview-4472--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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 24, 2026

⚠️ No Changeset found

Latest commit: 6f50559

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 24, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/devtools@6f50559

@module-federation/cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/cli@6f50559

create-module-federation

pnpm add https://pkg.pr.new/module-federation/core/create-module-federation@6f50559

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/data-prefetch@6f50559

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/dts-plugin@6f50559

@module-federation/enhanced

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/enhanced@6f50559

@module-federation/error-codes

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/error-codes@6f50559

@module-federation/managers

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/managers@6f50559

@module-federation/manifest

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/manifest@6f50559

@module-federation/metro

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro@6f50559

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

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

@module-federation/metro-plugin-rnef

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

@module-federation/modern-js-v3

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

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/retry-plugin@6f50559

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rsbuild-plugin@6f50559

@module-federation/rspack

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspack@6f50559

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspress-plugin@6f50559

@module-federation/runtime

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

@module-federation/runtime-core

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

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-tools@6f50559

@module-federation/sdk

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/sdk@6f50559

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

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

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-frontend@6f50559

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-server@6f50559

@module-federation/webpack-bundler-runtime

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

@module-federation/bridge-react

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react@6f50559

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

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

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-shared@6f50559

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-vue3@6f50559

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

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

commit: 6f50559

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: 852fa01988

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

chunkIds: 'named',
moduleIds: 'named',
},
output: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Merge duplicated output config into one object

This fixture declares output twice in the same object literal, so the second block overrides the first and ignoreBrowserWarnings: true is never applied. That silently drops the warning-suppression behavior this test case appears to rely on, making the case vulnerable to unrelated browser-warning noise instead of only validating share-scope behavior.

Useful? React with 👍 / 👎.

Comment on lines +33 to +35
"type": "dir-section-header",
"name": "advanced",
"label": "高级能力"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add Chinese advanced/_meta.json for new docs section

The Chinese guide now references an advanced section, but there is no apps/website-new/docs/zh/guide/advanced/_meta.json to register pages in that directory (checked with rg --files apps/website-new/docs/zh/guide). In this docs tree, mdx-containing directories use _meta.json for sidebar entries, so the new multiple-shared-scope page is likely not discoverable from the zh navigation.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

No bundle size changes detected.

Total dist: 6.89 MB (no change)
Total ESM gzip: 138.6 kB (no change)

@danpeen danpeen merged commit aacfe60 into main Feb 24, 2026
25 checks passed
@danpeen danpeen deleted the docs/muliple-share-scope branch February 24, 2026 11:39
@2heal1 2heal1 mentioned this pull request Mar 5, 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.

2 participants