Skip to content

Commit 681cb29

Browse files
committed
más jsdocs
1 parent aeb2e6d commit 681cb29

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

packages/nextjs/src/config/types.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,20 @@ export type SentryBuildOptions = {
468468
suppressOnRouterTransitionStartWarning?: boolean;
469469

470470
/**
471-
* Disables manifest injection.
471+
* Disables automatic injection of the route manifest into the client bundle.
472472
*
473-
* Defaults to `false`.
473+
* The route manifest is a build-time generated mapping of your Next.js App Router
474+
* routes that enables Sentry to group transactions by parameterized route names
475+
* (e.g., `/users/:id` instead of `/users/123`, `/users/456`, etc.).
476+
*
477+
* **Disable this option if:**
478+
* - You want to minimize client bundle size
479+
* - You're experiencing build issues related to route scanning
480+
* - You're using custom routing that the scanner can't detect
481+
* - You prefer raw URLs in transaction names
482+
* - You're only using Pages Router (this feature is only supported in the App Router)
483+
*
484+
* @default false
474485
*/
475486
disableManifestInjection?: boolean;
476487

0 commit comments

Comments
 (0)