Skip to content

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Dec 22, 2025

The plugin just injects the debug ID, but doesn't check if it is already in the file. Injecting multiple debug IDs result in problems (like the linked issue below):
getsentry/sentry-javascript#18519

This PR checks the beginning and end of the file for debug ID content. The numbers for that are a best estimate, so we don't need to read the whole file (potentially resource-intense).

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.

2 participants