From 2b74169d9fca30c201dda12fca78d3e811e41cda Mon Sep 17 00:00:00 2001 From: Julian Wielga Date: Fri, 14 Jun 2024 15:45:14 +0200 Subject: [PATCH] fix(federation): work with older react-router --- configs/webpack/common.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/webpack/common.ts b/configs/webpack/common.ts index be94841..d3d74be 100644 --- a/configs/webpack/common.ts +++ b/configs/webpack/common.ts @@ -154,6 +154,9 @@ export const commonConfig: Configuration = { singleton: true, requiredVersion: dependencies["react-dom"], }, + "react-router-dom": { + singleton: true, + }, }, ...federationConfig, }),