Skip to content

Commit 2c4f06c

Browse files
authored
docs(js): Update link to runAfterProductionCompile hook in nextjs options (#15152)
1 parent 2ddbe02 commit 2c4f06c

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/guides/nextjs/configuration/build

1 file changed

+1
-1
lines changed

docs/platforms/javascript/guides/nextjs/configuration/build/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ A list of React component names to exclude from component annotation.
290290
You can use this option with Next.js version 15.4.1 and later.
291291
</Alert>
292292

293-
Enables the use of the [`runAfterProductionCompile` hook from Next.js](https://nextjs.org/docs/app/building-your-application/configuring/running-post-build-tasks#the-runafterproductioncompile-hook) to upload sourcemaps after the build is completed.
293+
Enables the use of the [`runAfterProductionCompile` hook from Next.js](https://nextjs.org/docs/architecture/nextjs-compiler#runafterproductioncompile) to upload sourcemaps after the build is completed.
294294

295295
- This option is set to `true` by default for Turbopack as there are no alternative ways to upload sourcemaps here.
296296
- This option is set to `false` for Webpack as the default behavior is to upload sourcemaps during the build process using the [Sentry Webpack Plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins).

0 commit comments

Comments
 (0)