chore(sentry): remove sourcemaps after upload via plugin
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
kolaente 2023-06-18 15:12:29 +02:00
parent 2fad45e016
commit 472cca8ab8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 2 additions and 5 deletions

View File

@ -26,7 +26,7 @@
"serve": "vite",
"preview": "vite preview --port 4173",
"preview:dev": "vite preview --outDir dist-dev --mode development --port 4173",
"build": "vite build && rimraf dist/**/*.js.map && workbox copyLibraries dist/",
"build": "vite build && workbox copyLibraries dist/",
"build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/",
"build:dev": "vite build --mode development --outDir dist-dev/",
"lint": "eslint --ignore-pattern '*.test.*' ./src --ext .vue,.js,.ts",
@ -128,7 +128,6 @@
"postcss-easings": "3.0.1",
"postcss-focus-within": "7.0.2",
"postcss-preset-env": "8.5.0",
"rimraf": "3.0.2",
"rollup": "3.25.1",
"rollup-plugin-visualizer": "5.9.2",
"sass": "1.63.4",

View File

@ -255,9 +255,6 @@ devDependencies:
postcss-preset-env:
specifier: 8.5.0
version: 8.5.0(postcss@8.4.24)
rimraf:
specifier: 3.0.2
version: 3.0.2
rollup:
specifier: 3.25.1
version: 3.25.1

View File

@ -49,6 +49,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions {
org: env.SENTRY_ORG,
project: env.SENTRY_PROJECT,
release: VERSION,
cleanSourcemapsAfterUpload: true,
deploy: {
env: env.mode === 'production'
? 'production'