/ svelte.config.js
svelte.config.js
 1  import adapter from '@sveltejs/adapter-cloudflare';
 2  import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
 3  
 4  /** @type {import('@sveltejs/kit').Config} */
 5  export default {
 6  	preprocess: vitePreprocess(),
 7  	compilerOptions: {
 8  		runes: true,
 9  		experimental: {
10  			async: true
11  		},
12  	},
13  	kit: {
14  		experimental: {
15  			remoteFunctions: true,
16  		},
17  		adapter: adapter({
18  			// See below for an explanation of these options
19  			// config: undefined,
20  			// platformProxy: {
21  			//   configPath: undefined,
22  			//   environment: undefined,
23  			//   persist: undefined
24  			// },
25  			// fallback: 'plaintext',
26  			// routes: {
27  			//   include: ['/*'],
28  			//   exclude: ['<all>']
29  			// }
30  		}),
31  		// alias: {
32  		// "@/*": "./src/lib/*",
33  		// },
34  	},
35  };