You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/enhanced/src/schemas/container/ModuleFederationPlugin.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -840,8 +840,13 @@
840
840
"description": "Bridge configuration options",
841
841
"type": "object",
842
842
"properties": {
843
+
"enableBridgeRouter": {
844
+
"description": "Enables bridge router functionality for React applications. When enabled, automatically handles routing context and basename injection for micro-frontend applications using react-router-dom.",
845
+
"type": "boolean",
846
+
"default": false
847
+
},
843
848
"disableAlias": {
844
-
"description": "Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.",
849
+
"description": "[Deprecated] Use `enableBridgeRouter: false` instead. Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.",
Copy file name to clipboardExpand all lines: packages/enhanced/src/schemas/container/ModuleFederationPlugin.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -929,9 +929,15 @@ export default {
929
929
description: 'Bridge configuration options',
930
930
type: 'object',
931
931
properties: {
932
+
enableBridgeRouter: {
933
+
description:
934
+
'Enables bridge router functionality for React applications. When enabled, automatically handles routing context and basename injection for micro-frontend applications using react-router-dom.',
935
+
type: 'boolean',
936
+
default: false,
937
+
},
932
938
disableAlias: {
933
939
description:
934
-
'Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.',
940
+
'[Deprecated] Use `enableBridgeRouter: false` instead. Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.',
0 commit comments