diff --git a/vite.config.ts b/vite.config.ts index 7628fc3e7..ce1e96bae 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -50,9 +50,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions { cleanSourcemapsAfterUpload: true, legacyErrorHandlingMode: true, deploy: { - env: env.mode === 'production' - ? 'production' - : 'development', + env: env.MODE, }, setCommits: { auto: true,