18 lines
467 B
TypeScript
18 lines
467 B
TypeScript
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;
|