You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been searching for a tool like this for a while now, thank you for your hard work!
I'm currently trying to reduce the size of my initial webpack chunks - I have different lazy-loaded components in my application and it's fine if they load some larger libraries. However, some of these libraries somehow snuck into the main chunk, probably by some constant being imported in an innocuous-looking source file.
Now if I search for the library using whybundled stats.json some-huge-library, I get all source filenames that import this library. Is it possible to display the chunk name of the file next to it - or even filter by the chunk that hosts this module?
The text was updated successfully, but these errors were encountered:
I started creating this myself - the basic functionality is already done thanks to this fork that I ported to the current version; Would you be interested in accepting a PR if I invested a bit more time and created a PR or is this out of scope for what you have in mind for this tool? If so, I'd try and see if I can add
listing chunks
filtering by chunk
recursive lookup ("this file is included in the chunk because it's included by file X, which is included by file Y, which is included by file Z") edit: realising now that this has some complexity to it and most definitely is scope creep.
I've been searching for a tool like this for a while now, thank you for your hard work!
I'm currently trying to reduce the size of my initial webpack chunks - I have different lazy-loaded components in my application and it's fine if they load some larger libraries. However, some of these libraries somehow snuck into the main chunk, probably by some constant being imported in an innocuous-looking source file.
Now if I search for the library using
whybundled stats.json some-huge-library
, I get all source filenames that import this library. Is it possible to display the chunk name of the file next to it - or even filter by the chunk that hosts this module?The text was updated successfully, but these errors were encountered: