-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to prevent @sentry/vite-plugin from injecting Sentry to every file? #591
Comments
Hey @lilouartz would you mind letting us know why you want to disable debug id injection? This snippet is injected so that we can better associate the minified stack frames with the correct source maps to show you the unminified stack frames in the Sentry UI.
You can give our legacy source maps uploading strategy a try. This won't inject debug id snippets into your code but you'll need to more carefully set up source maps upload |
Feels lame that I have to use something named "legacy" for what seems like a basic ask. |
I gave you an alternative. Without having more context as to why you want to achieve this, we cannot prioritize further work.
At this time, we don't understand why this is a "basic ask". |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Looks like Sentry injects this to every file:
How do I disable this?
The text was updated successfully, but these errors were encountered: