Webpack 1 doesn’t support native ES import very well, that’s why you have imported whole library.
Miron Machnicki
11

Thanks for the tip, did not know about import debounce from 'lodash/debouce' . Would be nice to see tree shaking in action with Webpack 2 as I haven’t had much luck with rollup every time I have gave it a try.

Like what you read? Give Nimesh a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.