Skip to content

feat(bridge): hide bridge router debug logs behind a config switch - #5011

Open
alex-vukov wants to merge 4 commits into
module-federation:mainfrom
alex-vukov:hide-bridge-router-debug-logs
Open

feat(bridge): hide bridge router debug logs behind a config switch#5011
alex-vukov wants to merge 4 commits into
module-federation:mainfrom
alex-vukov:hide-bridge-router-debug-logs

Conversation

@alex-vukov

Copy link
Copy Markdown

Description

The React bridge webpack plugin always prints a log starting with <<<<<<<<<<<<< bridgeRouterAlias >>>>>>>>>>>>> during compilation. These are debugs logs and look bad so I think they should be off by default.

A new showBridgeRouterLogs option enables them when needed:

  • on the plugin: new ReactBridgePlugin({ moduleFederationOptions, showBridgeRouterLogs: true })
  • or via Module Federation config: bridge: { showBridgeRouterLogs: true }

Related Issue

No linked 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

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3374a15

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 48 packages
Name Type
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/sdk Patch
@module-federation/enhanced Patch
@module-federation/rspack Patch
@module-federation/devtools Patch
@module-federation/cli Patch
@module-federation/dts-plugin Patch
@module-federation/esbuild Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/metro Patch
@module-federation/modern-js-v3 Patch
@module-federation/modern-js Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/observability-plugin Patch
@module-federation/retry-plugin Patch
@module-federation/rsbuild-plugin Patch
@module-federation/rspress-plugin Patch
@module-federation/rstest Patch
@module-federation/runtime-core Patch
@module-federation/runtime Patch
@module-federation/storybook-addon Patch
@module-federation/utilities Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rock Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
node-dynamic-remote-new-version Patch
node-dynamic-remote Patch
@module-federation/playground Patch
remote5 Patch
remote6 Patch
website-new Patch
@module-federation/runtime-tools Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/bridge-shared Patch
@module-federation/error-codes Patch
create-module-federation Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch

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

@alex-vukov alex-vukov changed the title Hide bridge router debug logs behind a config switch feat(bridge):hide bridge router debug logs behind a config switch Aug 26, 2026
@alex-vukov alex-vukov changed the title feat(bridge):hide bridge router debug logs behind a config switch feat(bridge): hide bridge router debug logs behind a config switch Aug 26, 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