We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab62e3e commit c8832afCopy full SHA for c8832af
2 files changed
packages/nextjs/src/config/types.ts
@@ -116,7 +116,7 @@ export type SentryBuildWebpackOptions = {
116
/**
117
* Setting this to true will treeshake any SDK code that is related to tracing and performance monitoring.
118
*/
119
- tracing?: boolean;
+ removeTracing?: boolean;
120
121
122
* Setting this flag to `true` will tree shake any SDK code related to capturing iframe content with Session Replay.
packages/nextjs/src/config/webpack.ts
@@ -925,7 +925,7 @@ function setupTreeshakingFromConfig(
925
defines.__SENTRY_DEBUG__ = false;
926
}
927
928
- if (userSentryOptions.webpack?.treeshake?.tracing) {
+ if (userSentryOptions.webpack?.treeshake?.removeTracing) {
929
defines.__SENTRY_TRACING__ = false;
930
931
0 commit comments