Here’s a summary of what I want:
- Generate source maps from CRA during build in a GitHub Action workflow
- Upload them to Sentry using the
[Sentry Github Action](https://github.com/getsentry/action-release)
- Delete source maps before deploying my files because I don’t want them to be shipped to production
- When a error pops up, “decode” my minified code with the source maps from the artifacts of the release
When there’s a new error Sentry shouldn’t take the source map that I uploaded in the release? Why does it keep trying to fetch from my server? Why do I upload my source maps to Sentry if Sentry will try to fetch them from my server?
I don’t know what I’m getting wrong here and would appreciate some help.