mirror of
https://github.com/LukeHagar/LukeHagar.com.git
synced 2025-12-06 04:20:17 +00:00
bumped deps, altered sentry implementation
This commit is contained in:
20
vite.config.ts
Normal file
20
vite.config.ts
Normal 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
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user