1👍
My solution was to upload sourcemaps during the release phase (release.sh) with sentry-cli. By the time release phase happens, collectstatic has run and sourcemaps have been generated and filenames have been renamed for cache-busting purposes.
Source:stackexchange.com