Lodash ES6 import - why importing only some functions seems to import everything instead?

255 Views Asked by At

I'm trying this:

import { each,find,filter,map,some,debounce,defer,delay,throttle,uniq,assign,extend,merge,omit,without,findIndex,compact,replace,groupBy,max,uniqueId } from '../npm_components/node_modules/lodash/lodash';

The resulting file, seems to be the same size as for example I import only this:

import { delay } from '../npm_components/node_modules/lodash/lodash';

Why?

0

There are 0 best solutions below