Skip to content

Commit 03e070a

Browse files
committed
docs: improved comments writing style
1 parent e305f6b commit 03e070a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/nextjs/src/config/types.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,27 @@ export type SentryBuildWebpackOptions = {
114114
debugLogging?: boolean;
115115

116116
/**
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.
118118
*/
119119
tracing?: boolean;
120120

121121
/**
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.
123123
* It's only relevant when using Session Replay. Enable this flag if you don't want to record any iframes.
124124
* This has no effect if you did not add `replayIntegration`.
125125
*/
126126
excludeReplayIframe?: boolean;
127127

128128
/**
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.
130130
* It's only relevant when using Session Replay.
131131
* Enable this flag if you don't want to record any shadow DOM elements.
132132
* This has no effect if you did not add `replayIntegration`.
133133
*/
134134
excludeReplayShadowDOM?: boolean;
135135

136136
/**
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.
138138
* It's only relevant when using Session Replay.
139139
* Enable this flag if you want to host a compression worker yourself.
140140
* See Using a Custom Compression Worker for details.
@@ -433,38 +433,38 @@ export type SentryBuildOptions = {
433433
*/
434434
bundleSizeOptimizations?: {
435435
/**
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.
437437
* Note that the success of this depends on tree shaking being enabled in your build tooling.
438438
*
439439
* Setting this option to `true` will disable features like the SDK's `debug` option.
440440
*/
441441
excludeDebugStatements?: boolean;
442442

443443
/**
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.
445445
* Note that the success of this depends on tree shaking being enabled in your build tooling.
446446
* **Notice:** Do not enable this when you're using any performance monitoring-related SDK features (e.g. `Sentry.startTransaction()`).
447447
*/
448448
excludeTracing?: boolean;
449449

450450
/**
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.
452452
* Note that the success of this depends on tree shaking being enabled in your build tooling.
453453
*
454454
* This option is safe to be used when you do not want to capture any Shadow DOM activity via Sentry Session Replay.
455455
*/
456456
excludeReplayShadowDom?: boolean;
457457

458458
/**
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.
460460
* Note that the success of this depends on tree shaking being enabled in your build tooling.
461461
*
462462
* You can safely do this when you do not want to capture any `iframe` activity via Sentry Session Replay.
463463
*/
464464
excludeReplayIframe?: boolean;
465465

466466
/**
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.
468468
* Note that the success of this depends on tree shaking being enabled in your build tooling.
469469
*
470470
* **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

Comments
 (0)