You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nextjs/src/config/types.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -114,27 +114,27 @@ export type SentryBuildWebpackOptions = {
114
114
debugLogging?: boolean;
115
115
116
116
/**
117
-
* Setting this to true will tree-shake any SDK code that is related to tracing and performance monitoring.
117
+
* Setting this to true will treeshake any SDK code that is related to tracing and performance monitoring.
118
118
*/
119
119
tracing?: boolean;
120
120
121
121
/**
122
-
* Replacing this flag with true will tree shake any SDK code related to capturing iframe content with Session Replay.
122
+
* Setting this flag to `true` will tree shake any SDK code related to capturing iframe content with Session Replay.
123
123
* It's only relevant when using Session Replay. Enable this flag if you don't want to record any iframes.
124
124
* This has no effect if you did not add `replayIntegration`.
125
125
*/
126
126
excludeReplayIframe?: boolean;
127
127
128
128
/**
129
-
* Replacing this flag with true will tree shake any SDK code related to capturing shadow DOM elements with Session Replay.
129
+
* Setting this flag to `true` will tree shake any SDK code related to capturing shadow dom elements with Session Replay.
130
130
* It's only relevant when using Session Replay.
131
131
* Enable this flag if you don't want to record any shadow DOM elements.
132
132
* This has no effect if you did not add `replayIntegration`.
133
133
*/
134
134
excludeReplayShadowDOM?: boolean;
135
135
136
136
/**
137
-
* Replacing this flag with true will tree shake any SDK code that's related to the included compression web worker for Session Replay.
137
+
* Setting this flag to `true` will tree shake any SDK code that is related to the included compression web worker for Session Replay.
138
138
* It's only relevant when using Session Replay.
139
139
* Enable this flag if you want to host a compression worker yourself.
140
140
* See Using a Custom Compression Worker for details.
@@ -433,38 +433,38 @@ export type SentryBuildOptions = {
433
433
*/
434
434
bundleSizeOptimizations?: {
435
435
/**
436
-
* If set to `true`, the Sentry SDK will attempt to tree-shake (remove) any debugging code within itself during the build.
436
+
* If set to `true`, the Sentry SDK will attempt to treeshake (remove) any debugging code within itself during the build.
437
437
* Note that the success of this depends on tree shaking being enabled in your build tooling.
438
438
*
439
439
* Setting this option to `true` will disable features like the SDK's `debug` option.
440
440
*/
441
441
excludeDebugStatements?: boolean;
442
442
443
443
/**
444
-
* If set to `true`, the Sentry SDK will attempt to tree-shake (remove) code within itself that is related to tracing and performance monitoring.
444
+
* If set to `true`, the Sentry SDK will attempt to treeshake (remove) code within itself that is related to tracing and performance monitoring.
445
445
* Note that the success of this depends on tree shaking being enabled in your build tooling.
446
446
* **Notice:** Do not enable this when you're using any performance monitoring-related SDK features (e.g. `Sentry.startTransaction()`).
447
447
*/
448
448
excludeTracing?: boolean;
449
449
450
450
/**
451
-
* If set to `true`, the Sentry SDK will attempt to tree-shake (remove) code related to the SDK's Session Replay Shadow DOM recording functionality.
451
+
* If set to `true`, the Sentry SDK will attempt to treeshake (remove) code related to the SDK's Session Replay Shadow DOM recording functionality.
452
452
* Note that the success of this depends on tree shaking being enabled in your build tooling.
453
453
*
454
454
* This option is safe to be used when you do not want to capture any Shadow DOM activity via Sentry Session Replay.
455
455
*/
456
456
excludeReplayShadowDom?: boolean;
457
457
458
458
/**
459
-
* If set to `true`, the Sentry SDK will attempt to tree-shake (remove) code related to the SDK's Session Replay `iframe` recording functionality.
459
+
* If set to `true`, the Sentry SDK will attempt to treeshake (remove) code related to the SDK's Session Replay `iframe` recording functionality.
460
460
* Note that the success of this depends on tree shaking being enabled in your build tooling.
461
461
*
462
462
* You can safely do this when you do not want to capture any `iframe` activity via Sentry Session Replay.
463
463
*/
464
464
excludeReplayIframe?: boolean;
465
465
466
466
/**
467
-
* If set to `true`, the Sentry SDK will attempt to tree-shake (remove) code related to the SDK's Session Replay's Compression Web Worker.
467
+
* If set to `true`, the Sentry SDK will attempt to treeshake (remove) code related to the SDK's Session Replay's Compression Web Worker.
468
468
* Note that the success of this depends on tree shaking being enabled in your build tooling.
469
469
*
470
470
* **Notice:** You should only use this option if you manually host a compression worker and configure it in your Sentry Session Replay integration config via the `workerUrl` option.
0 commit comments