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
* Options related to react component name annotations.
140
+
* Disabled by default, unless a value is set for this option.
141
+
* When enabled, your app's DOM will automatically be annotated during build-time with their respective component names.
142
+
* This will unlock the capability to search for Replays in Sentry by component name, as well as see component names in breadcrumbs and performance monitoring.
143
+
* Please note that this feature is not currently supported by the esbuild bundler plugins, and will only annotate React components
144
+
*
145
+
* @deprecated Use `webpack.reactComponentAnnotation` instead.
146
+
*/
147
+
reactComponentAnnotation?: {
148
+
/**
149
+
* Whether the component name annotate plugin should be enabled or not.
150
+
*/
151
+
enabled?: boolean;
152
+
153
+
/**
154
+
* A list of strings representing the names of components to ignore. The plugin will not apply `data-sentry` annotations on the DOM element for these components.
155
+
*/
156
+
ignoredComponents?: string[];
157
+
};
158
+
};
159
+
60
160
exporttypeSentryBuildOptions={
61
161
/**
62
162
* The slug of the Sentry organization associated with the app.
@@ -363,6 +463,8 @@ export type SentryBuildOptions = {
363
463
* When enabled, your app's DOM will automatically be annotated during build-time with their respective component names.
364
464
* This will unlock the capability to search for Replays in Sentry by component name, as well as see component names in breadcrumbs and performance monitoring.
365
465
* Please note that this feature is not currently supported by the esbuild bundler plugins, and will only annotate React components
466
+
*
467
+
* @deprecated Use `webpack.reactComponentAnnotation` instead.
366
468
*/
367
469
reactComponentAnnotation?: {
368
470
/**
@@ -381,6 +483,7 @@ export type SentryBuildOptions = {
381
483
* You can use this option to override any options the SDK passes to the webpack plugin.
382
484
*
383
485
* Please note that this option is unstable and may change in a breaking way in any release.
486
+
* @deprecated Use `webpack.unstable_sentryWebpackPluginOptions` instead.
0 commit comments