5 ms·
Keeping your JavaScript bundle size in check
- wjossey 8y agoQuick note to the author if they see this. The lodash Babel plug-in automatically takes care of only importing the used functions to keep your lodash imports under control. I’d recommend adding that note to your lodash section. Thanks for taking the time to put this together! Always helpful.
- paulddraper 8y agoThat is the common recommendation. I've always been confused why that approach is preferred over a general purpose tree shaker.
- mostlystatic 8y agoOh cool! I didn't know about that, will add it to the article.