Hi. I am using sentry with react app. I load source maps using sentry cli
sentry-cli releases files $RELEASE_ID upload-sourcemaps build/scripts --rewrite --url-prefix "~/scripts/"
and it works good, I see in sentry.io loaded files
my bundle.45d7c21b.js has //# sourceMappingURL=bundle.45d7c21b.js.map
After loading source maps to sentry I remove it, because I don’t want to show them in production.
And when I get error, I see next
Why sentry doesn’t use loaded source maps and tries to find it by url, obviously it gets 404, because I don’t want to provide source maps in production.