Expose react-router-dom to allow plugins to use useHistory()

See https://githubmemory.com/repo/module-federation/module-federation-examples/issues/716
This commit is contained in:
Danielv123 committed 2021-11-22 10:19:43 +01:00
1 parent 8638632600
commit 52238de9b3
1 file changed
+2
+2
View File
@@ -25,6 +25,8 @@ module.exports = (env = {}) => merge(common(env), {
"antd": { singleton: true },
"react": { singleton: true },
"react-dom": { singleton: true },
"react-router": { singleton: true },
"react-router-dom": { singleton: true },
},
}),
],