Open tommoor opened 1 year ago
Hi @tommoor, thanks for reporting, we're already aware of the issue and waiting for https://github.com/d3/d3-sankey/pull/117 to be merged, see https://github.com/d3/d3-sankey/pull/117#issuecomment-1676670147.
Feel free to close as duplicate, but it seems like the maintainer of d3-sankey isn't planning on merging that PR – any thoughts on a way forward? 😢
@tommoor I'm not really sure if there's a good solution for such an issue. I wouldn't recommend creating a script to be executed in each install process to remove the old version.
https://pnpm.io/package_json#pnpmoverrides should be the way to go if the dependencies are otherwise compatible
Description
d3-shape
,d3-path
,d3-array
are bundled multiple times causing the size of the library to be ~50Kb larger than it needs to be (larger than most libraries are to begin with).Steps to reproduce
Look in
pnpm-lock
Screenshots
Setup