Initial commit

This commit is contained in:
ponzischeme89
2026-05-02 08:26:18 +12:00
commit b7ea05f150
119 changed files with 13641 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { svelteTesting } from '@testing-library/svelte/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [svelteTesting({ autoCleanup: false }), sveltekit()],
server: {
proxy: {
'/api/submit': {
target: 'http://localhost:8000',
rewrite: (path) => path.replace(/^\/api\/submit/, '/submit')
}
}
},
test: {
environment: 'jsdom',
setupFiles: ['./vitest.setup.ts'],
include: ['src/**/*.test.ts']
}
});