Working example

This commit is contained in:
Håkon Størdal 2025-09-02 22:51:17 +02:00
parent 5c04a0f1ee
commit b4444e7bd2
14 changed files with 935 additions and 22 deletions

18
svelte.config.ts Normal file
View file

@ -0,0 +1,18 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import type { Config } from '@sveltejs/kit';
const config: Config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
compilerOptions: {
experimental: { async: true }
},
kit: {
adapter: adapter(),
experimental: { remoteFunctions: true }
}
};
export default config;