Skip to content

Add sourcemaps wizard to angular source map guide #7663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions src/platform-includes/sourcemaps/overview/javascript.angular.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
## Uploading Source Maps in an Angular project

Sentry uses [releases](/product/releases/) to match the correct source maps to your events.
This page explains how to generate source maps, set releases, and upload source maps to Sentry either manually or automatically when bundling your Angular app.
### Automatic Setup

### Generating Source Maps
The easiest way to configure uploading source maps is by using the Sentry Wizard:

<Include name="sourcemaps-wizard-instructions.mdx" />

### Manual Setup

If you want to configure source maps upload with Angular manually, follow the steps below.

#### Generating Source Maps

To generate source maps, you need to add the `sourceMap` option to your `angular.json` build configuration:

Expand All @@ -28,7 +35,7 @@ To generate source maps, you need to add the `sourceMap` option to your `angular
}
```

### Ways to Upload Source Maps
#### Uploading Source Maps

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

Expand Down