Skip to content
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
4 changes: 2 additions & 2 deletions platform-includes/sourcemaps/overview/javascript.nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = withSentryConfig(
);
```

#### 2. Source Map Options
#### 2. [Optional] Customize Source Map Options

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

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