SIGN IN SIGN UP

feat(core): Expose `rewriteSources` top level option (#20142)

- Adds `rewriteSources` to the base `SourceMapsOptions` interface so
users can customize source path rewriting without the `unstable_*`
escape hatch
- Wires up the option in Nuxt, Next.js, and TanStack Start (SvelteKit,
Astro, React Router already pass it through via spread)
- Nuxt and Next.js preserve their default rewriting behavior when the
option is not provided


bundler plugins ref
https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/908
closes https://github.com/getsentry/sentry-javascript/issues/20028
C
Charly Gomez committed
13dc7a17ddb1366e06d91f798e2b90fb9ab16ecb
Parent: 61c5602
Committed by GitHub <noreply@github.com> on 4/14/2026, 12:27:17 PM