bumped deps, altered sentry implementation

This commit is contained in:
Luke Hagar
2024-02-07 13:48:36 -06:00
parent ade0d20942
commit 657575be81
5 changed files with 824 additions and 826 deletions

20
vite.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import { sentrySvelteKit } from '@sentry/sveltekit';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
sentrySvelteKit({
sourceMapsUploadOptions: {
org: 'sentry',
project: 'lukehagar',
url: 'https://sentry.plygrnd.org',
authToken: process.env.SENTRY_AUTH_TOKEN
}
}),
sveltekit()
],
ssr: {
noExternal: ['tsparticles', 'tsparticles-slim', 'tsparticles-engine', 'svelte-particles'] // add all tsparticles libraries here, they're not made for SSR, they're client only
}
});