fix(sentry): use correct environment from vite env mode
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0ca1b3a7f5
commit
88ce29aa77
@ -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,
|
||||
|
Reference in New Issue
Block a user