mirror of
https://github.com/LukeHagar/LukeHagar.com.git
synced 2025-12-06 04:20:17 +00:00
21 lines
581 B
TypeScript
21 lines
581 B
TypeScript
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
|
|
}
|
|
});
|