Closed saminzadeh closed 6 years ago
This PR utilizes the babel lodash plugin to automatically cherry-pick Lodash modules.
This has a few advantages:
Benchmarks (minified is about the same 😄 )
Before Plugin:
File sizes after gzip: umd/itemsjs.js 26.41 KB umd/itemsjs.min.js 14.52 KB
After Plugin:
File sizes after gzip: umd/itemsjs.js 45.37 KB umd/itemsjs.min.js 14.53 KB
Will revisit once we get UMD builds configured on all envs
This PR utilizes the babel lodash plugin to automatically cherry-pick Lodash modules.
This has a few advantages:
Benchmarks (minified is about the same 😄 )
Before Plugin:
After Plugin: