Initial commit

This commit is contained in:
david.alvarez
2026-06-11 16:43:24 +02:00
commit 461e3c3d30
58 changed files with 10768 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/// <reference types="vitest" />
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
export default defineConfig({
plugins: [svelte()],
server: {
port: 5173,
proxy: {
"/api": "http://localhost:8765",
"/games": "http://localhost:8765",
"/artwork": "http://localhost:8765",
},
},
build: {
outDir: "dist",
emptyOutDir: true,
},
resolve: {
conditions: process.env.VITEST ? ["browser", "module", "import"] : [],
},
test: {
environment: "jsdom",
globals: true,
include: ["src/**/*.test.js"],
},
});