@module-federation/sdk 0.0.0-refactor-manifest-20251016072532 → 0.0.0-refactor-manifest-20251017070814

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -215,8 +215,23 @@ export interface ModuleFederationPluginOptions {
215
215
  };
216
216
  bridge?: {
217
217
  /**
218
+ * Enables bridge router functionality for React applications.
219
+ * When enabled, automatically handles routing context and basename injection
220
+ * for micro-frontend applications using react-router-dom.
221
+ *
222
+ * @default false
223
+ */
224
+ enableBridgeRouter?: boolean;
225
+ /**
226
+ * @deprecated Use `enableBridgeRouter: false` instead.
227
+ *
218
228
  * Disables the default alias setting in the bridge.
219
229
  * When true, users must manually handle basename through root component props.
230
+ *
231
+ * Migration:
232
+ * - `disableAlias: true` → `enableBridgeRouter: false`
233
+ * - `disableAlias: false` → `enableBridgeRouter: true`
234
+ *
220
235
  * @default false
221
236
  */
222
237
  disableAlias?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.0.0-refactor-manifest-20251016072532",
3
+ "version": "0.0.0-refactor-manifest-20251017070814",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A sdk for support module federation",