Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[DO NOT MERGE] Experiment: Use cherry picked lodash modules #379
So as a quick experiment to see if I could reduce the bundle size even more, I tried to replace the lodash dependencies with cherry picked functions from the lodash lib. The idea was that we would be able to dedupe overlapping code between the individual lodash packages.
Result: did not reduce bundle size.
Leaving PR here so people can learn from the results.
It is caused because Rollup can't 100% decide if some code is side-effect free. It will caution on the safe side and end up including more then is needed. See Rollup wiki