Closed
Description
I've recently updated our project's libraries to use the newest react-router-bootstrap, and noticed that our project's bundle size increased a fair bit. It looks like one cause of this is because the newest react-router-bootstrap uses lodash here:
For some reason lodash is not tree-shakable, which means react-router-bootstrap increases our bundle by ~500kb (25kb gzipped). Is there some way that lodash could be used in this library that would allow tree-shaking in the final webpack bundle?
Metadata
Metadata
Assignees
Labels
No labels