Skip to content
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

[RR7] Add vite plugin for updating sentry options in vite config #15520

Open
chargome opened this issue Feb 27, 2025 · 0 comments
Open

[RR7] Add vite plugin for updating sentry options in vite config #15520

chargome opened this issue Feb 27, 2025 · 0 comments
Assignees
Labels
Package: react-router Issues related to the Sentry React Router SDK

Comments

@chargome
Copy link
Member

Description

Currently the user needs to pass the sentry config to both the vite config AND our vite plugin.
We could probably make this prettier by just adding a new plugin within our existing vite plugin that updates the global vite config with our sentry options (so that they are available for our buildEnd hook)

Ref #15406

@chargome chargome added the Package: react-router Issues related to the Sentry React Router SDK label Feb 27, 2025
@chargome chargome self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: react-router Issues related to the Sentry React Router SDK
Projects
None yet
Development

No branches or pull requests

1 participant