Next.js: How to export onRouterTransitionStart from instrumentation-client in case of tree-shaking? #16571
Unanswered
studentIvan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/tree-shaking/ has no information regarding exporting the
captureRouterTransitionStart
in case of tree-shakingAlso file is called main.js not
instrumentation-client.ts
(js) - why?Should it be like this? Not clear
Beta Was this translation helpful? Give feedback.
All reactions