Skip to content

Commit

Permalink
fix(federation): work with older react-router
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianWielga committed Jun 17, 2024
1 parent d5c6a75 commit 2b74169
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/webpack/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ export const commonConfig: Configuration = {
singleton: true,
requiredVersion: dependencies["react-dom"],
},
"react-router-dom": {
singleton: true,
},
},
...federationConfig,
}),
Expand Down

0 comments on commit 2b74169

Please sign in to comment.