chore: add sentry vite plugin to upload sourcemaps

This PR uploads sourcemaps every time frontend is built (usually in CI). I've already setup the necessary env vars. Every push to staging or production should have a debug id and source maps with correspondign debug ids. This way we can inspect errors on sentry without minification.

NOTE: this will upload details about our entire codebase to sentry. Not sure we're happy to do that. That being said, sentry already runs on production anyway, and its already intrusive as it is.

Merge request reports

Loading