Open zac18992 opened 1 year ago
I confirm the issue also with Bar, Line and Pie: I'm bundling my application with Vite, and the bundle importing Nivo is also loading the entirety of Lodash. The commit pointed out by Zac should fix the issue, IMHO
This has been solved already, but has not been released yet.
Thanks @plouc, sounds about right as per the original post.
Is there any suggested approach to using a stable version of this package which is contains the commit? Or the only way is to wait for a new release?
Thank you!
You'll have to wait for a new release @zac18992.
Is it possible to have a minor release with the lodash module fix? Running into deployment issues with out of memory from lodash being entirely bundled. @plouc
Hi @plouc as this code was already committed, is it going to be included in release https://github.com/plouc/nivo/releases/tag/v0.84.0 ? I couldn't see the changes in there.
Thank you.
Is your feature request related to a problem? Please describe. Hey there. I noticed that Nivo Box Plot seems to be the whole Lodash library when I import it and use it in my libraries. Please see the bundle information below when I compile my library using Rolllup. Removing Nivo Box Plot does remove the Lodash bundle addition entirely.
I noticed a commit here in June: https://github.com/plouc/nivo/commit/9045e5e81b9b3ef2c39e0bce0afce6c25343c451
This seems to have already carried out the action which I believe would fix the issue, but I don't think any release was made in order for these changes to take effect.
Describe the solution you'd like Are these updates due to be released, or is there some other action that needs to be taken in order to make use of these changes?
Describe alternatives you've considered patch-package
Additional context