Environment
Vite, Rolldown, Electron, NodeJS
Steps to Reproduce
These bundler plugins, and the rolldown implementation, only support the injection of the debugId comment.
However, I don't think that's sufficient for most applications that would actually look to use this? The Sentry SDKs inject the _sentryDebugIds global management code.
The only other compliant 3rd party implementation I noticed was Turbopack's
Both of these don't just stop with the comment, but also inject the global-mutating code.
Expected Result
Expected this vendor neutral implementation to also inject the global which would be the best path towards actually implementing this (as opposed to using the manual resolve functions which I'd expect to be slow and unreliable, comparatively).
Actual Result
Did not inject the global.
Also, as an aside, I'm curious why sentry uses _sentryDebugIds and isn't "standardized" on _debugIds? Is there a format difference? Usage difference?
Environment
Vite, Rolldown, Electron, NodeJS
Steps to Reproduce
These bundler plugins, and the rolldown implementation, only support the injection of the debugId comment.
However, I don't think that's sufficient for most applications that would actually look to use this? The Sentry SDKs inject the
_sentryDebugIdsglobal management code.The only other compliant 3rd party implementation I noticed was Turbopack's
Both of these don't just stop with the comment, but also inject the global-mutating code.
Expected Result
Expected this vendor neutral implementation to also inject the global which would be the best path towards actually implementing this (as opposed to using the manual
resolvefunctions which I'd expect to be slow and unreliable, comparatively).Actual Result
Did not inject the global.
Also, as an aside, I'm curious why sentry uses
_sentryDebugIdsand isn't "standardized" on_debugIds? Is there a format difference? Usage difference?