WIP push-to-talk Letta chat frontend
at main 573 B view raw
1// Tauri doesn't have a Node.js server to do proper SSR 2// so we use adapter-static with a fallback to index.html to put the site in SPA mode 3// See: https://svelte.dev/docs/kit/single-page-apps 4// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info 5import adapter from "@sveltejs/adapter-static"; 6import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; 7 8/** @type {import('@sveltejs/kit').Config} */ 9const config = { 10 preprocess: vitePreprocess(), 11 kit: { 12 adapter: adapter({ 13 fallback: "index.html", 14 }), 15 }, 16}; 17 18export default config;