Replies: 1 comment 2 replies
-
@zkochan I saw you are the main maintainer, any advice on this please? (thank you for EDIT: just saw #5585 (comment) , I will read this tomorrow and give it a try :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using
pnpm.overrides
into the rootpackage.json
to fix some versions across my packages. This idea was to avoid when packageA uses packageB to have to 2 timesreact
in the final bundle for example (if pA and pB usesreact
).I used today
webpack-bundle-analyzer
and saw for my Next.js final build 2 MUI library listed:'@mui/material': 5.10.16_lskpmcsdi7ipu6qpuapyu56ihm
'@mui/material': 5.10.16_ib3m5ricvtkl2cll7qpr2f6lvq
Whereas they are the exact same. Is
overrides
not sufficient? What needs to be done in addition? I thought otherwise aboutpeerDependencies
but I'm not sure if it would be the right thing and where to configure it (only in packages + listing the dependency in the rootpackage.json
?)Thank you,
Beta Was this translation helpful? Give feedback.
All reactions