Uploading Source Maps

To upload your Svelte project'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!) or suggesting an update ("yeah, this would be better").