上传源映射
了解如何将源映射提供给 Sentry。
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: