From 2e4c37a734056148d5d080d14ca72a18f5cf249d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Fri, 3 Jul 2026 15:30:27 +0200 Subject: [PATCH] fix(sentry): upload source maps to php-laravel project Frontend JS errors land in the php-laravel project (app.tsx initializes Sentry with SENTRY_LARAVEL_DSN), so source maps must be uploaded there, not to the frontend project, to symbolicate them. --- vite.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 448ce3e3..003ed47c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,7 +38,10 @@ export default defineConfig({ url: 'https://de.sentry.io/', authToken: sentryAuthToken, org: 'whisper-money', - project: 'frontend', + // Frontend JS errors are captured into the php-laravel + // project (see app.tsx Sentry.init using SENTRY_LARAVEL_DSN), + // so maps must be uploaded there to symbolicate them. + project: 'php-laravel', release: { create: false, finalize: false,