Source Maps
@sentry/sveltekit
will generate and upload source maps automatically, so that errors in Sentry will contain readable stack traces.
The SvelteKit SDK uses the Sentry Vite Plugin to upload source maps. See the Manual Configuration page and the Sentry Webpack Vite documentation for more details.
Additional Resources
- Using sentry-cli to Upload Source Maps
- 4 Reasons Why Your Source Maps Are Broken
- Debug Your Node.js Projects with Source Maps
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").
- Package:
- npm:@sentry/sveltekit
- Version:
- 7.51.0
- Repository:
- https://github.com/getsentry/sentry-javascript