Use Bundlesize with Next.js #12849
Unanswered
alejandronanez
asked this question in
Help
Replies: 1 comment 3 replies
-
@timneutkens Just came across this same issue myself, and am wondering if we can maybe get an official |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Hello Next.js community!
I'm working on adding
Performance Budgets
for a project that uses Next.js' SSG. What happens is that I can't think of a way to add BundleSize by @siddharthkp to my project, due to the way Next.js builds its Javascript.Look at this image

Questions
First Load shared by all
size value somewhere after runningnext build
so I can tellBundlesize
what files to look out for? I don't think so as I believe this is calculated on the fly based on multiple files..next
build folder will give me how much Javascript I'm loading per each route,/blog
and/blog/[slug]
in this caseFirst Load JS
column the sum ofeach resource + shared scripts
?Bundlesize
?Thanks,
Beta Was this translation helpful? Give feedback.
All reactions