Skip to content

Commit d1cb75c

Browse files
committed
fix(config): allow overriding unleash module sharing config
1 parent fcf4ad4 commit d1cb75c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/config-utils/src/federated-modules.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const federatedModules = ({
9898
/**
9999
* Make sure the unleash proxy client is a singleton
100100
*/
101-
if (dependencies['@unleash/proxy-client-react']) {
101+
if (dependencies['@unleash/proxy-client-react'] && !sharedDeps['@unleash/proxy-client-react']) {
102102
sharedDeps['@unleash/proxy-client-react'] = {
103103
singleton: true,
104104
eager: false,

0 commit comments

Comments
 (0)