Skip to content

Commit a885b25

Browse files
committed
add telemetry option to the plugin config
1 parent 1138a16 commit a885b25

File tree

1 file changed

+12
-0
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+12
-0
lines changed

packages/bundler-plugin-core/src/types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ export interface Options {
9797
* Example: `rollup-package`
9898
*/
9999
bundleName?: string;
100+
101+
/**
102+
* If set to true, internal plugin errors and performance data will be sent to Sentry.
103+
*
104+
* At Codecov we like to use Sentry ourselves to deliver faster and more stable products. We're
105+
* very careful of what we're sending. We won't collect anything other than error and high-level
106+
* performance data. We will never collect your code or any details of the projects in which
107+
* you're using this plugin.
108+
*
109+
* Defaults to `true`.
110+
*/
111+
telemetry?: boolean;
100112
}
101113

102114
export type BundleAnalysisUploadPlugin = (

0 commit comments

Comments
 (0)