Replies: 5 comments 16 replies
-
|
What's the What about Also, is this just running build again? As in |
Beta Was this translation helpful? Give feedback.
-
|
We are experiencing the same issue with similar setup after upgrading to next 16. App router with This is with using turpoback. The speed of build & deploy CI has decreased by about 30 % going from 7 mins to 10 mins after switching to nextjs 16 because of the increased build size.
|
Beta Was this translation helpful? Give feedback.
-
|
I understand your concern about the increased .next folder size after upgrading to Next.js 16. Here is an explanation and some recommendations to help clarify this behavior. This behavior is expected in Next.js 16 due to changes in the build system and server-side optimizations. Explanation
Recommendations
rm -rf .next
npm run build
Summary The increased |
Beta Was this translation helpful? Give feedback.
-
|
I just updated from 15 to 16 and am seeing an increase in the number of build artifacts for my static export files - a dramatic increase. Though the size of the overall bundle upload hasn't changed, the duration of the upload is like 3 times longer as I am deploying to S3 for my production deployment. Here is an example of the city of florence - it jumped from 2 or 3 artifacts per page to this monstrosity. Is there a way to revert to an older version of the build process? This is quadrupling my deployment time - I'm not sure in what world that is okay. upload: dashboard/cities/florence/__next._head.txt to s3://expatriaonline.com/dashboard/cities/florence/__next._head.txt |
Beta Was this translation helpful? Give feedback.
-
|
For folks running into this, here are a few things to check:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We have an app serving about 6k static pages, when using Next.js 15.x, our folder was about 3.5GB, now with Next.js 16 the folder is about 6.3GB.
We want to know if this is normal behavior of the new version, something we have to accept, or if something is wrong with our implementation.
Additional information
This is the distribution of size across my .next folder.
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions