Skip to content

fix(nextjs): Add immutable browser chunks to upload assets#21978

Merged
chargome merged 2 commits into
developfrom
chargome/fix/nextjs-turbopack-immutable-sourcemaps
Jul 6, 2026
Merged

fix(nextjs): Add immutable browser chunks to upload assets#21978
chargome merged 2 commits into
developfrom
chargome/fix/nextjs-turbopack-immutable-sourcemaps

Conversation

@chargome

@chargome chargome commented Jul 6, 2026

Copy link
Copy Markdown
Member

experimental.supportsImmutableAssets (force-enabled by Vercel's builder on Next.js 16 preview), Turbopack emits client chunks to static/immutable/chunks/ instead of static/chunks/.

  • if it exists we now add this path to the default assets
  • we now warn whenever we delete source maps that exist under static/ that no upload pattern covers

closes #21962

@chargome chargome self-assigned this Jul 6, 2026
@chargome

chargome commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit d0c7785. Configure here.

@chargome chargome marked this pull request as ready for review July 6, 2026 11:30
@chargome chargome requested a review from a team as a code owner July 6, 2026 11:30
@chargome chargome requested review from logaretm, mydea, nicohrubec and s1gr1d and removed request for a team and mydea July 6, 2026 11:30
@chargome chargome merged commit 5abfc34 into develop Jul 6, 2026
85 checks passed
@chargome chargome deleted the chargome/fix/nextjs-turbopack-immutable-sourcemaps branch July 6, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants