Configuring Sentry in your Remix Supabase SaaS kit

Please set the following environment variable:

VITE_MONITORING_PROVIDER=sentry
VITE_SENTRY_DSN=your_dsn

Update your root app at apps/web/app/root.tsx to include the following:

Install the Sentry SDK for Remix in your application project:

cd apps/web
pnpm i @sentry/remix

Then, update your root app to include the Sentry SDK:

// import the Sentry SDK
import { withSentry } from '@sentry/remix';
// export your root app wrapped with Sentry
export default withSentry(App);