Commit 28f94f3
fix(react-router): Disable debug ID injection in Vite plugin to prevent double injection (##19890)
Set sourcemaps.disable to true (boolean) instead of 'disable-upload' (string)
in makeCustomSentryVitePlugins. The Rollup plugin checks disable !== true, so
the string value was not disabling debug ID injection. This caused double
injection with two different UUIDs per file when sentryOnBuildEnd also ran
sentry-cli sourcemaps inject, breaking source map resolution.
Fixes GH-19874
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9bfc682 commit 28f94f3
File tree
2 files changed
+3
-3
lines changed- packages/react-router
- src/vite
- test/vite
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments