mirror of https://github.com/linkerd/linkerd2.git
Imports lodash function individually, eliminate 'import _ from lodash' This branch replaces imports of all of lodash (import _ from 'lodash' with per function imports e..g import _isNil from 'lodash/isNil'. This reduces the bundle size from~520 kb to ~160kb. I've also taken the opportunity to replace our use of lodash functions with native js functions where it makes sense (e.g. some maps, concats, sizes). |
||
---|---|---|
.. | ||
fixtures | ||
testHelpers.jsx |