Skip to content

Commit 7693a15

Browse files
sfanahataShannon Anahatachargome
authored
fixing some errors from nextjs-source-map-updates branch (#14467)
## DESCRIBE YOUR PR - Fix enabled/disabled typo - Make clear that default: true is the default - Make clearer that source maps options are optional for set-up - ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) --------- Co-authored-by: Shannon Anahata <[email protected]> Co-authored-by: Charly Gomez <[email protected]>
1 parent 94b513a commit 7693a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = withSentryConfig(
3030
);
3131
```
3232

33-
#### 2. Source Map Options
33+
#### 2. [Optional] Customize Source Map Options
3434

3535
Configure source map behavior using the [source maps options](/platforms/javascript/guides/nextjs/configuration/build/#source-maps-options) in your Next.js config:
3636

@@ -46,7 +46,7 @@ module.exports = withSentryConfig(
4646
project: "___PROJECT_SLUG___",
4747
authToken: process.env.SENTRY_AUTH_TOKEN,
4848
sourcemaps: {
49-
disable: false, // Enable source maps (default: false)
49+
disable: false, // Source maps are enabled by default
5050
assets: ["**/*.js", "**/*.js.map"], // Specify which files to upload
5151
ignore: ["**/node_modules/**"], // Files to exclude
5252
deleteSourcemapsAfterUpload: true, // Security: delete after upload

0 commit comments

Comments
 (0)