Is it possible to import lodash methods one by one?
This:
import assign from 'lodash/assign';
import isArray from 'lodash/isArray';
import mapValues from 'lodash/mapValues'
import merge from 'lodash/merge'
instead of:
import { assign, isArray, mapValues, merge } from 'lodash';
This would only import required modules into bundle instead of whole lodash when using bundlers like webpack.