Closed dave-irvine closed 6 years ago
@dave-irvine Thanks for filing the issue. Will do asap
@dave-irvine added and bumped. I did the update in a separate PR so I could add the version change for the PR docs https://github.com/alsoscotland/react-super-select/tree/v1.0.9
As the module currently exists, when you bundle it into a project using webpack, the entirety of lodash is pulled in, ~600kb.
By adding babel-plugin-lodash, the actual lodash modules you use are cherry-picked and used directly, reducing eventual lodash includes to about ~150kb.
There should be no functional difference, this change should be seamless.