Source Maps
Uploading Source Maps
We've compiled a list of guides on how to upload source maps to Sentry for the most popular JavaScript build tools:
Sentry Bundler Support
Guides
- TypeScript (tsc)If you're using one of Webpack, Vite, Rollup or Esbuild, use the corresponding Sentry plugin instead (see section "Sentry Plugin Support").
- UglifyJS
- SystemJS
- GitHub Actions
Other Tools
If you're not using one of these tools, we assume you already know how to generate source maps with your toolchain and we recommend you upload them using Sentry CLI.
Though we strongly recommend uploading source maps as part of your build process, for browser applications it's also possible to host your source maps publicly.
Additional Resources
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/browser
- Version:
- 7.54.0
- Repository:
- https://github.com/getsentry/sentry-javascript