Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react-router
SDK Version
9.22.0
Framework Version
7
Link to Sentry event
No response
Reproduction Example/SDK Setup
To setup tracing with react-router@7 the docs suggest to use https://docs.sentry.io/platforms/javascript/guides/react-router/tracing/ server-side (and browserTracingIntegration() client-side).
import * as Sentry from "@sentry/react-router";
Sentry.init({
integrations: [Sentry.reactRouterTracingIntegration()],
});
I can see types being exported, but no function:
__vite_ssr_import_0__.reactRouterTracingIntegration is not a function
Steps to Reproduce
- Setup react-router with vite@7
- Setup tracing according to the documentation
- See function not being exported
Expected Result
I expect to be able to call Sentry.reactRouterTracingIntegration() or an equivalent.
Actual Result
The function can not be called, because it is not exported.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react-router
SDK Version
9.22.0
Framework Version
7
Link to Sentry event
No response
Reproduction Example/SDK Setup
To setup tracing with react-router@7 the docs suggest to use https://docs.sentry.io/platforms/javascript/guides/react-router/tracing/ server-side (and
browserTracingIntegration()client-side).I can see types being exported, but no function:
Steps to Reproduce
Expected Result
I expect to be able to call
Sentry.reactRouterTracingIntegration()or an equivalent.Actual Result
The function can not be called, because it is not exported.