diff --git a/vite.config.ts b/vite.config.ts index 14b2615..ea221d5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,12 +1,15 @@ -import { sentrySvelteKit } from '@sentry/sveltekit' +import { sentryVitePlugin } from '@sentry/vite-plugin' import { sveltekit } from '@sveltejs/kit/vite' import { defineConfig } from 'vite' import { nodePolyfills } from 'vite-plugin-node-polyfills' export default defineConfig({ + build: { + sourcemap: true, + }, plugins: [ - sentrySvelteKit({ - autoInstrument: false, + sentryVitePlugin({ + release: { finalize: false }, }), nodePolyfills({ include: ['path', 'stream', 'util'],