Re:Lists of JavaScript methods which you can use natively
by madeofpalk on Friday July 01, 2016 @10:53AM
(#12016489)
We do plenty fine with just `import get from 'lodash/get', however we're fairly eager to upgrade to webpack to to take advantage of it's tree-shaking capabilities.
Re:Lists of JavaScript methods which you can use natively
by jdd on Friday July 01, 2016 @05:22PM
(#12019750)
Webpack 2 or Rollup don't tree-shake Lodash well.
You'll need something like https://github.com/lodash/babel-plugin-lodash.
https://github.com/lodash/lodash-webpack-plugin