Uploading Source Maps
To upload your Svelte
projectRepresents your service in Sentry and allows you to scope events to a distinct application.
's source maps to Sentry, you currently have two options:- Use the Sentry Vite plugin to set releases and upload source maps.
- Upload source maps manually using Sentry-CLI. Take a look at this bash script as an example of how to configure the CLI for a typical Svelte project.
For other bundlers or more advanced configurations, take a look at the following guides and options for uploading sourcemaps:
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/svelte
- Version:
- 7.74.1
- Repository:
- https://github.com/getsentry/sentry-javascript