Skip to content

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Apr 28, 2025

This PR ensures that if a bundler has already injected a debug ID comment, we overwrite that rather than add a new additional comment.

This is tested for Vite v6, Rollup v4 and Webpack v5.

@timfish timfish requested review from lforst and Lms24 April 28, 2025 10:57
@lforst lforst merged commit 7bc20a7 into getsentry:main Apr 29, 2025
26 checks passed
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request May 10, 2025
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @sentry/vite-plugin | 3.3.1 | 3.4.0 |


## [v3.4.0](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#340)

-   fix: Replace existing debug ID comments ([#730](getsentry/sentry-javascript-bundler-plugins#730))
-   feat: Expose bundler plugin primitives via `createSentryBuildPluginManager` ([#714](getsentry/sentry-javascript-bundler-plugins#714))
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request May 10, 2025
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @sentry/vite-plugin | 3.3.1 | 3.4.0 |


## [v3.4.0](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#340)

-   fix: Replace existing debug ID comments ([#730](getsentry/sentry-javascript-bundler-plugins#730))
-   feat: Expose bundler plugin primitives via `createSentryBuildPluginManager` ([#714](getsentry/sentry-javascript-bundler-plugins#714))
@timfish timfish deleted the timfish/fix/double-debug-id-injection branch July 15, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cater for when bundlers have already injected Debug IDs
3 participants