aboutsummaryrefslogtreecommitdiffstats
path: root/app/svelte.config.js
blob: 9e2462bc3dad16ab0257e377310e2c1fd5bcef71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	preprocess: vitePreprocess({
		style: {
			css: {
				lightningcss: {
					targets: ">0.2%",
					drafts: {
						customMedia: true
					}
				}
			}
		}
	}),
	kit: {
		adapter: adapter(),
		experimental: {
			remoteFunctions: true
		}
	},
	compilerOptions: {
		experimental: {
			async: true
		}
	}
};

export default config;