feat: add sveltekit

This commit is contained in:
2026-09-04 16:43:32 +05:00
parent b9f98ea4b6
commit 8ecc4c1110
15 changed files with 849 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
import adapter from '@sveltejs/adapter-vercel';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
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
},
adapter: adapter()
})
]
});