getsentry / sentry-javascript-bundler-plugins

JavaScript Bundler Plugins for Sentry
https://sentry.io
BSD 3-Clause "New" or "Revised" License
141 stars 36 forks source link

fix: Disable debug ID injection when `sourcemaps.disable` is set #589

Closed lforst closed 3 months ago

lforst commented 3 months ago

I ran into the case in https://github.com/getsentry/sentry/pull/76051 where it would be super harmful when we injected debug IDs because we later inject debug IDs with the CLI, and the plugin's debug IDs would win, and source maps would break. This is more or less just a reliability patch.