1. import { map } from 'lodash';

image



2. import map from 'lodash/map';

image



3. import { map } from 'lodash/fp';

image



4. import map from 'lodash/fp/map';

image



5. import { map } from 'lodash';

with babel-plugin-lodash, same as 2.
image



6. import { map } from 'lodash';

with lodash-webpack-plugin
image



7. import { map } from 'lodash/fp';

with lodash-webpack-plugin
image



8. import { map } from 'lodash-es';

image

Categories: , ,

Leave a Reply