This commit is contained in:
2026-08-02 17:09:34 +02:00
commit e6bcafdfee
30 changed files with 7154 additions and 0 deletions

15
svelte.config.js Normal file
View File

@@ -0,0 +1,15 @@
import adapter from '@sveltejs/adapter-node';
/** @type {import('@sveltejs/kit').Config} */
const config = {
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)
},
kit: {
// adapter-node compiles SvelteKit to a standalone Node.js server
adapter: adapter()
}
};
export default config;