diff options
Diffstat (limited to 'app/svelte.config.js')
| -rw-r--r-- | app/svelte.config.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app/svelte.config.js b/app/svelte.config.js new file mode 100644 index 0000000..9e2462b --- /dev/null +++ b/app/svelte.config.js @@ -0,0 +1,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; |
