Skip to content

Commit af16cd8

Browse files
author
Luca Forstner
authored
Add sourcemaps wizard to angular source map guide (#7663)
1 parent 5effe03 commit af16cd8

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/platform-includes/sourcemaps/overview/javascript.angular.mdx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
## Uploading Source Maps in an Angular project
22

3-
Sentry uses [releases](/product/releases/) to match the correct source maps to your events.
4-
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.
3+
### Automatic Setup
54

6-
### Generating Source Maps
5+
The easiest way to configure uploading source maps is by using the Sentry Wizard:
6+
7+
<Include name="sourcemaps-wizard-instructions.mdx" />
8+
9+
### Manual Setup
10+
11+
If you want to configure source maps upload with Angular manually, follow the steps below.
12+
13+
#### Generating Source Maps
714

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

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

31-
### Ways to Upload Source Maps
38+
#### Uploading Source Maps
3239

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

0 commit comments

Comments
 (0)