Working example
This commit is contained in:
parent
5c04a0f1ee
commit
b4444e7bd2
14 changed files with 935 additions and 22 deletions
18
svelte.config.ts
Normal file
18
svelte.config.ts
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue