diff --git a/ui/vite.config.ts b/ui/vite.config.ts index 1ade991..bf75a1d 100644 --- a/ui/vite.config.ts +++ b/ui/vite.config.ts @@ -26,7 +26,7 @@ export default defineConfig({ disable: !process.env.SENTRY_AUTH_TOKEN, // Source maps are uploaded to GlitchTip; do not ship them in the // production bundle served to browsers. - sourceMapsUploadOptions: { + sourcemaps: { filesToDeleteAfterUpload: ['./build/**/*.map'] } })