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

Add sourcemaps to sentry.io #3163

Closed
manuelmeister opened this issue Nov 13, 2022 · 1 comment · Fixed by #3713
Closed

Add sourcemaps to sentry.io #3163

manuelmeister opened this issue Nov 13, 2022 · 1 comment · Fixed by #3713

Comments

@manuelmeister
Copy link
Member

manuelmeister commented Nov 13, 2022

Error messages in sentry are only of limited use, because the source maps are not connected/linked.

Maybe we can solve this with this package:
https://github.com/ikenfin/vite-plugin-sentry

Or with the CLI: https://docs.sentry.io/platforms/javascript/sourcemaps/

@manuelmeister
Copy link
Member Author

Meanwhile there is an official package from sentry themselves:
https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/vite-plugin

I don't understand how to configure it, so it does not submit on every build (even locally) and how to inject version/commit hash, so it gets picked up.

@BacLuc BacLuc linked a pull request Aug 19, 2023 that will close this issue
@BacLuc BacLuc removed a link to a pull request Aug 19, 2023
@BacLuc BacLuc linked a pull request Aug 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant