sentry-javascript-bundler-plugins icon indicating copy to clipboard operation
sentry-javascript-bundler-plugins copied to clipboard

Allow ignoring entire files for component annotations

Open 0Calories opened this issue 1 year ago • 0 comments

In PR https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/617, we introduced a config to allow skipping annotations on certain components by providing their names. It would be nice to also have a config option that allows you to set specific files that should have no annotations applied. This is useful in the case where a specific file is known to have several components that are incompatible with the plugin, and you don't want to have to list every single component name in the configs

{
      name: "ignoredFiles",
      type: "string[]",
      fullDescription:
      "A list of strings representing local paths to files to ignore. The plugin will not perform any annotations on components in these files.",
      supportedBundlers: ["webpack", "vite", "rollup"],
}

0Calories avatar Jan 08 '25 16:01 0Calories