Skip to content

Commit 1ddf1fc

Browse files
authored
fix(angular): Ensure sourcemaps links have correct text color (#11312)
1 parent 96bbf37 commit 1ddf1fc

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,21 @@ To generate source maps, you need to add the `sourceMap` option to your `angular
3636
```
3737

3838
<Alert>
39-
Generating sourcemaps may expose them to the public, potentially causing your source code to be leaked. You can prevent this by configuring your server to deny access to `.js.map` files, or by deleting the sourcemaps before deploying your application.
39+
Generating sourcemaps may expose them to the public, potentially causing your
40+
source code to be leaked. You can prevent this by configuring your server to
41+
deny access to `.js.map` files, or by deleting the sourcemaps before deploying
42+
your application.
4043
</Alert>
4144

4245
#### Uploading Source Maps
4346

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

46-
- [**Angular CLI and Sentry webpack plugin**](./uploading/angular-webpack/) <br/>
49+
- [Angular CLI and Sentry webpack plugin](./uploading/angular-webpack/) <br/>
4750
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`.
48-
- [**Nx Angular CLI and Sentry webpack plugin**](./uploading/angular-nx/) <br/>
51+
- [Nx Angular CLI and Sentry webpack plugin](./uploading/angular-nx/) <br/>
4952
If you're using Nx, use `@nx/angular` CLI and the Sentry webpack plugin to set releases and upload source maps automatically when running `nx build`.
50-
- [**Sentry CLI**](./uploading/cli/)<br/>
53+
- [Sentry CLI](./uploading/cli/)<br/>
5154
Upload source maps manually using the Sentry CLI.
5255

5356
Take a look at this [guide for further options to upload source maps](./uploading/).

0 commit comments

Comments
 (0)