web: upload only `.map` files to Sentry
Created by: plibither8
Currently we are uploading all files present in the ui/assets/scripts
directory, which includes .map
and .js
files. According to the discussion here, we don't need to upload .js
files if the source maps contain the source code itself, which we do.
Also: silenced Sentry's upload logs to reduce noise.
Files | Size | |
With .js
|
651 | 22 MB |
Without .js
|
228 | 8.73 MB |
Change |
|
|
Test plan
Tested locally by uploading source maps to Sentry.
App preview:
Check out the client app preview documentation to learn more.