Sentry Next.js stack traces display original typescript code #6619
Locked
InnaAndreeva
started this conversation in
General
Replies: 1 comment
-
Duplicate of #6621 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello!
I am using a @sentry/nextjs package to submit build artifacts to Sentry.io. However Sentry displays javascript code because typescript code compiles into javascript. Such traces are quite hard to read for our team.
My tsconfig.json looks like
Where
tsconfig
is standard Next.js tsconfig.json file.sentry.client.config.js
andsentry.server.config.js
files containintegrations
property configured such waySo
root
property contains the path to the root directory with typescript code.Could you tell, If it possible to load original typescript files into Sentry and render stack traces with TS code?
Beta Was this translation helpful? Give feedback.
All reactions