Repository navigation
fix(v10/nuxt): Do not inject debug IDs into the SSR build - #25094
Merged
Merged
Conversation
s1gr1d
requested review from
chargome and
nicohrubec
and removed request for
a team
October 6, 2026 10:26
chargome
approved these changes
Oct 6, 2026
Nuxt server source maps can still resolve to wrong lines (more info in Nitro bundles Nuxt's SSR build again. The Sentry Vite plugin also ran on the SSR build, so its debug IDs got into Nitro's output. Many server files used such an ID instead of Nitro's own, and both builds uploaded different maps under that ID. The Vite plugin now runs only on the client build. Nitro's plugin uploads the server maps, which already point to the original sources. The e2e test now checks that each shipped file has one debug ID, resolving to exactly one map generated for that file. Fixes #18974
s1gr1d
force-pushed
the
sig/v10-nuxt-sourcemaps-server
branch
from
October 6, 2026 12:01
7d5f283 to
e9631e2
Compare
s1gr1d
enabled auto-merge (squash)
October 6, 2026 12:05
Contributor
size-limit report 📦
|
47 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #25080
Nuxt server source maps can still resolve to wrong lines (more info in
Nitro bundles Nuxt's SSR build again. The Sentry Vite plugin also ran on the SSR build, so its debug IDs got into Nitro's output. Many server files used such an ID instead of Nitro's own, and both builds uploaded different maps under that ID.
The Vite plugin now runs only on the client build. Nitro's plugin uploads the server maps, which already point to the original sources.
Fixes #18974