siddharthkp / bundlesize

Keep your bundle size in check
MIT License
4.47k stars 180 forks source link

Help in identifying reason for increase in size #27

Open siddharthkp opened 7 years ago

siddharthkp commented 7 years ago

Having insights into why is the library size growing would be really helpful. If the increase can be traced back to the source, it would be great.

As @ai puts it:

you need not only warning, but also reasons why library become bigger. Profiling is a key for optimization ;)

One of the possible solutions here is using webpack bundle analyser (again, thanks to @ai)

siddharthkp commented 7 years ago

Another possible solution: Integrate with uld bundle-buddy

FezVrasta commented 7 years ago

What about packages that use different bundlers like Rollup?

siddharthkp commented 7 years ago

That's just one possibility. I haven't really found the right solution yet.

Open to ideas 😄