fix(sentry): use correct environment from vite env mode
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2023-06-18 16:26:23 +02:00
parent 0ca1b3a7f5
commit 88ce29aa77
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 3 deletions

View File

@ -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,