I made a tool called bundle-wizard to make it super easy to explore the JS bundles loaded by any web app.

You’ll find information about which libraries were loaded, how much code was actually run by the browser on startup, the size of your app’s bundles versus third party scripts that were loaded, and more, all simply running the command npx bundle-wizard [your site here]

For a preview, check out an interactive version of this visualization showing what JavaScript is loaded by Reddit’s mobile site:

Post image

Visualizing JavaScript loaded by reddit.com

Please check it out and let me know if you have any suggestions for improvement!

Source link

Write A Comment