Recipe for analyzing bundle size #9164
Labels
add new content
Document something that is not in docs. May require testing, confirmation, or affect other pages.
help wanted
Issues looking for someone to run with them!
📚 Subject area/topic
Recipes and Guides
📋 Suggested page
https://docs.astro.build/en/recipes/analyze-bundle-size/
📋 General description or bullet points (if proposing new content)
When using client-side JavaScript libraries, it is important to keep track of how much they will increase the final js bundle size. Knowing this, we can optimize our page performance by potentially removing, or lazy-loading our client-side code. An official guide on how to analyze/visualize our page's js budle would be super helpful to do this.
For reference, some other frameworks have guides on how to do this:
🖥️ Reproduction of code samples in StackBlitz
No response
The text was updated successfully, but these errors were encountered: