fix(sentry): don't fail the build when sentry upload fails
This commit is contained in:
parent
a118580704
commit
0ca1b3a7f5
@ -48,6 +48,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions {
|
|||||||
project: env.SENTRY_PROJECT,
|
project: env.SENTRY_PROJECT,
|
||||||
release: VERSION,
|
release: VERSION,
|
||||||
cleanSourcemapsAfterUpload: true,
|
cleanSourcemapsAfterUpload: true,
|
||||||
|
legacyErrorHandlingMode: true,
|
||||||
deploy: {
|
deploy: {
|
||||||
env: env.mode === 'production'
|
env: env.mode === 'production'
|
||||||
? 'production'
|
? 'production'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user