-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.ts
44 lines (42 loc) · 1.22 KB
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { sentrySvelteKit } from "@sentry/sveltekit";
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vitest/config";
import svg from "@poppanator/sveltekit-svg";
import * as dotenv from "dotenv";
dotenv.config();
export default defineConfig({
plugins: [
sentrySvelteKit({
sourceMapsUploadOptions: {
org: "catalyst-softworks",
project: "unreal-community-wiki",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
}),
sveltekit(),
svg({
type: "src",
svgoOptions: {
plugins: [
{
name: "preset-default",
params: {
overrides: {
removeViewBox: false,
},
},
},
{
name: "convertColors",
params: {
currentColor: true,
},
},
],
},
}),
],
test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
},
});