@sentry/esbuild-plugin
Advanced tools
Comparing version 2.7.1 to 2.8.0
@@ -403,3 +403,4 @@ 'use strict'; | ||
setup: function setup(_ref2) { | ||
var onLoad = _ref2.onLoad, | ||
var initialOptions = _ref2.initialOptions, | ||
onLoad = _ref2.onLoad, | ||
onResolve = _ref2.onResolve; | ||
@@ -412,2 +413,8 @@ onResolve({ | ||
} else { | ||
var _initialOptions$injec; | ||
// Injected modules via the esbuild `inject` option do also have `kind == "entry-point"`. | ||
// We do not want to inject debug IDs into those files because they are already bundled into the entrypoints | ||
if ((_initialOptions$injec = initialOptions.inject) !== null && _initialOptions$injec !== void 0 && _initialOptions$injec.includes(args.path)) { | ||
return; | ||
} | ||
return { | ||
@@ -486,3 +493,4 @@ pluginName: pluginName, | ||
setup: function setup(_ref3) { | ||
var onLoad = _ref3.onLoad, | ||
var initialOptions = _ref3.initialOptions, | ||
onLoad = _ref3.onLoad, | ||
onResolve = _ref3.onResolve; | ||
@@ -495,2 +503,8 @@ onResolve({ | ||
} else { | ||
var _initialOptions$injec2; | ||
// Injected modules via the esbuild `inject` option do also have `kind == "entry-point"`. | ||
// We do not want to inject debug IDs into those files because they are already bundled into the entrypoints | ||
if ((_initialOptions$injec2 = initialOptions.inject) !== null && _initialOptions$injec2 !== void 0 && _initialOptions$injec2.includes(args.path)) { | ||
return; | ||
} | ||
return { | ||
@@ -497,0 +511,0 @@ pluginName: pluginName, |
{ | ||
"name": "@sentry/esbuild-plugin", | ||
"version": "2.7.1", | ||
"version": "2.8.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.7.1", | ||
"@sentry/bundler-plugin-core": "2.8.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.7.1", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.7.1", | ||
"@sentry-internal/eslint-config": "2.8.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.8.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
@@ -93,2 +93,4 @@ <p align="center"> | ||
This value can also be specified via the `SENTRY_ORG` environment variable. | ||
### `project` | ||
@@ -95,0 +97,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
106762
1198
506
+ Added@sentry/bundler-plugin-core@2.8.0(transitive)
- Removed@sentry/bundler-plugin-core@2.7.1(transitive)