mirror of
https://github.com/LukeHagar/LukeHagar.com.git
synced 2025-12-06 04:20:17 +00:00
23 lines
655 B
JavaScript
23 lines
655 B
JavaScript
import { sentrySvelteKit } from "@sentry/sveltekit";
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
/** @type {import('vite').UserConfig} */
|
|
const config = {
|
|
plugins: [sentrySvelteKit({
|
|
sourceMapsUploadOptions: {
|
|
org: "sentry",
|
|
project: "lukehagar",
|
|
url: "https://sentry.plygrnd.org"
|
|
}
|
|
}), sveltekit()],
|
|
|
|
test: {
|
|
include: ['src/**/*.{test,spec}.{js,ts}']
|
|
},
|
|
|
|
ssr: {
|
|
noExternal: ["tsparticles", "tsparticles-slim", "tsparticles-engine", "svelte-particles"], // add all tsparticles libraries here, they're not made for SSR, they're client only
|
|
}
|
|
};
|
|
|
|
export default config; |