Skip to content

fix(tanstackstart-react): Add server-side replayIntegration no-op stub#21148

Merged
nicohrubec merged 1 commit into
developfrom
fix/tanstack-start-replay-server-stub
May 26, 2026
Merged

fix(tanstackstart-react): Add server-side replayIntegration no-op stub#21148
nicohrubec merged 1 commit into
developfrom
fix/tanstack-start-replay-server-stub

Conversation

@nicohrubec
Copy link
Copy Markdown
Member

@nicohrubec nicohrubec commented May 24, 2026

Using Sentry.replayIntegration() in shared client/server code (e.g. router.tsx) causes a build error because @sentry/node doesn't export it (noticed this while testing #21149). Adds a no-op stub on the server side to get rid of the build error, same pattern as the existing tanstackRouterBrowserTracingIntegration stub.

Using `Sentry.replayIntegration()` in shared client/server code (like `router.tsx`) causes a build error because `@sentry/node` doesn't export it. Adds a no-op stub on the server side, same pattern as `tanstackRouterBrowserTracingIntegration`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nicohrubec nicohrubec marked this pull request as ready for review May 26, 2026 07:16
@nicohrubec nicohrubec requested a review from a team as a code owner May 26, 2026 07:16
@nicohrubec nicohrubec requested review from chargome, mydea and s1gr1d and removed request for a team and mydea May 26, 2026 07:16
@nicohrubec nicohrubec merged commit f002b7a into develop May 26, 2026
47 checks passed
@nicohrubec nicohrubec deleted the fix/tanstack-start-replay-server-stub branch May 26, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants