Update svelte and typescript usage
All checks were successful
Build / build (push) Successful in 22s

This commit is contained in:
Chris 2026-08-05 17:15:08 +01:00
commit 26bd739638
19 changed files with 237 additions and 934 deletions

15
vite.config.ts Normal file
View file

@ -0,0 +1,15 @@
import adapter from '@sveltejs/adapter-static';
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()
})
]
});