A Simple JavaScript change to reduce your build size (patrick-gordon.com) 8 points by patrickgordon 9y ago ↗ HN
[–] korynunn 9y ago ↗ Another effective change:npm un --save lodash [–] jdd 9y ago ↗ No-trololo: Lodash is modular so you can use cherry-pick the methods you want. There's plugins to make it easier and further reduce bundle sizes.https://github.com/lodash/babel-plugin-lodashhttps://github.com/lodash/lodash-webpack-plugin
[–] jdd 9y ago ↗ No-trololo: Lodash is modular so you can use cherry-pick the methods you want. There's plugins to make it easier and further reduce bundle sizes.https://github.com/lodash/babel-plugin-lodashhttps://github.com/lodash/lodash-webpack-plugin
2 comments
[ 3.8 ms ] story [ 16.3 ms ] threadnpm un --save lodash
https://github.com/lodash/babel-plugin-lodash
https://github.com/lodash/lodash-webpack-plugin