Uploading Source Maps

To upload your Angular project's source maps to Sentry, we recommend one of these two options:

  • Angular CLI and Sentry Webpack Plugin
    Use the Angular CLI, a custom Angular builder and the Sentry Webpack plugin to set releases and upload source maps automatically when running ng build.
  • Sentry CLI
    Upload source maps manually using Sentry-CLI.

These options work well with Angular projects out of the box. For other bundlers or more advanced projects and 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").