@sentry/esbuild-plugin
Advanced tools
Comparing version 2.21.1 to 2.22.0
{ | ||
"name": "@sentry/esbuild-plugin", | ||
"version": "2.21.1", | ||
"version": "2.22.0", | ||
"description": "Official Sentry esbuild plugin", | ||
@@ -51,3 +51,3 @@ "repository": "git@github.com:getsentry/sentry-javascript-bundler-plugins.git", | ||
"dependencies": { | ||
"@sentry/bundler-plugin-core": "2.21.1", | ||
"@sentry/bundler-plugin-core": "2.22.0", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@sentry-internal/eslint-config": "2.21.1", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.21.1", | ||
"@sentry-internal/eslint-config": "2.22.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.22.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
@@ -85,2 +85,8 @@ <p align="center"> | ||
- [`uploadLegacySourcemaps`](#releaseuploadlegacysourcemaps) | ||
- [`bundleSizeOptimizations`](#bundlesizeoptimizations) | ||
- [`excludeDebugStatements`](#bundlesizeoptimizationsexcludedebugstatements) | ||
- [`excludeTracing`](#bundlesizeoptimizationsexcludetracing) | ||
- [`excludeReplayShadowDom`](#bundlesizeoptimizationsexcludereplayshadowdom) | ||
- [`excludeReplayIframe`](#bundlesizeoptimizationsexcludereplayiframe) | ||
- [`excludeReplayWorker`](#bundlesizeoptimizationsexcludereplayworker) | ||
@@ -499,3 +505,53 @@ - [`moduleMetadata`](#modulemetadata) | ||
### `bundleSizeOptimizations` | ||
Options related to bundle size optimizations. These options will allow you to optimize and reduce the bundle size of the Sentry SDK. | ||
### `bundleSizeOptimizations.excludeDebugStatements` | ||
Type: `boolean` | ||
If set to `true`, the plugin will attempt to tree-shake (remove) any debugging code within the Sentry SDK. | ||
Note that the success of this depends on tree shaking being enabled in your build tooling. | ||
Setting this option to `true` will disable features like the SDK's `debug` option. | ||
### `bundleSizeOptimizations.excludeTracing` | ||
Type: `boolean` | ||
If set to `true`, the plugin will attempt to tree-shake (remove) code within the Sentry SDK that is related to tracing and performance monitoring. | ||
Note that the success of this depends on tree shaking being enabled in your build tooling. | ||
**Notice:** Do not enable this when you're using any performance monitoring-related SDK features (e.g. `Sentry.startTransaction()`). | ||
### `bundleSizeOptimizations.excludeReplayShadowDom` | ||
Type: `boolean` | ||
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay Shadow DOM recording functionality. | ||
Note that the success of this depends on tree shaking being enabled in your build tooling. | ||
This option is safe to be used when you do not want to capture any Shadow DOM activity via Sentry Session Replay. | ||
### `bundleSizeOptimizations.excludeReplayIframe` | ||
Type: `boolean` | ||
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay `iframe` recording functionality. | ||
Note that the success of this depends on tree shaking being enabled in your build tooling. | ||
You can safely do this when you do not want to capture any `iframe` activity via Sentry Session Replay. | ||
### `bundleSizeOptimizations.excludeReplayWorker` | ||
Type: `boolean` | ||
If set to `true`, the plugin will attempt to tree-shake (remove) code related to the Sentry SDK's Session Replay's Compression Web Worker. | ||
Note that the success of this depends on tree shaking being enabled in your build tooling. | ||
**Notice:** You should only do use this option if you manually host a compression worker and configure it in your Sentry Session Replay integration config via the `workerUrl` option. | ||
### `moduleMetadata` | ||
@@ -502,0 +558,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125948
599
+ Added@sentry/babel-plugin-component-annotate@2.22.0(transitive)
+ Added@sentry/bundler-plugin-core@2.22.0(transitive)
- Removed@sentry/babel-plugin-component-annotate@2.21.1(transitive)
- Removed@sentry/bundler-plugin-core@2.21.1(transitive)