egentrening/svelte.config.ts

19 lines
467 B
TypeScript
Raw Normal View History

2025-09-02 15:16:54 +02:00
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2025-09-02 22:51:17 +02:00
import type { Config } from '@sveltejs/kit';
2025-09-02 15:16:54 +02:00
2025-09-02 22:51:17 +02:00
const config: Config = {
2025-09-02 15:16:54 +02:00
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
2025-09-02 22:51:17 +02:00
compilerOptions: {
experimental: { async: true }
},
kit: {
adapter: adapter(),
experimental: { remoteFunctions: true }
}
2025-09-02 15:16:54 +02:00
};
export default config;