File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
packages/nextjs/src/config Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -468,9 +468,20 @@ export type SentryBuildOptions = {
468
468
suppressOnRouterTransitionStartWarning ?: boolean ;
469
469
470
470
/**
471
- * Disables manifest injection.
471
+ * Disables automatic injection of the route manifest into the client bundle .
472
472
*
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
474
485
*/
475
486
disableManifestInjection ?: boolean ;
476
487
You can’t perform that action at this time.
0 commit comments