Next.js Discord

Discord Forum

BundleSize: First Load JS Shared by all

Answered
Spinge Bib Sqorpnts posted this in #help-forum
Open in Discord
Hi! While building my app I noticed that my First Load JS Shared by all is 88kb, which feels a bit excessive since I don't have many global packages.
Using bundleAnalyzer, I see this: (image attached)
Answered by joulev
Left is the react runtime, right is the nextjs runtime. They are forced, you cannot reduce this. What you are seeing is the minimum level already, all nextjs apps running on the app router have this.
View full answer

4 Replies

Does that mean that I can't actually reduce it any further?
Console output for additional context
@Spinge Bib Sqorpnts Hi! While building my app I noticed that my First Load JS Shared by all is 88kb, which feels a bit excessive since I don't have many global packages. Using bundleAnalyzer, I see this: (image attached)
Left is the react runtime, right is the nextjs runtime. They are forced, you cannot reduce this. What you are seeing is the minimum level already, all nextjs apps running on the app router have this.
Answer