init repo

This commit is contained in:
JCEEE
2026-06-23 11:27:05 +01:00
commit 2253b54077
37 changed files with 2382 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import tailwindcss from '@tailwindcss/vite';
import adapter from '@sveltejs/adapter-node';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import { PROXY_PORT } from '../config';
export default defineConfig({
plugins: [
tailwindcss(),
sveltekit({
compilerOptions: {
// Force runes mode for the project, except for libraries. Can be removed in svelte 6.
runes: ({ filename }) =>
filename.split(/[/\\]/).includes('node_modules') ? undefined : true,
experimental: { async: true }
},
adapter: adapter(),
experimental: { remoteFunctions: true, handleRenderingErrors: true }
})
],
server: {
proxy: {
'/api': {
target: `http://localhost:${PROXY_PORT}`,
changeOrigin: true
}
}
}
});