react-flexbox-layout icon indicating copy to clipboard operation
react-flexbox-layout copied to clipboard

Is lodash really being eager loaded?

Open pechitook opened this issue 9 years ago • 2 comments

This was suposed to be taken care of in #21, but webpack-dashboard management of dependencies, which I believe comes from webpack ouput itself states otherwise:

image

Is there any chance anyone else could confirm this? @byronmwong @gianu @rafaelchiti

pechitook avatar Dec 02 '16 17:12 pechitook

Hey, thanks for filing the issue! I found another place where I was importing all of lodash and removed it. Can you try again with version 1.2.5?

Here's what I'm getting now, definitely better, but still larger than I'd like.

react-flexbox-layout: 201 KB (4.31%)
  lodash: 119.98 KB (59.7%)
  classnames: 1.08 KB (0.535%)
  <self>: 79.94 KB (39.8%)

bywo avatar Dec 02 '16 18:12 bywo

That's a great improvement. Thank you for the quick fix!

pechitook avatar Dec 03 '16 00:12 pechitook