panorama/svelte.config.js

17 lines
487 B
JavaScript
Raw Normal View History

2024-11-04 05:39:27 +00:00
// Tauri doesn't have a Node.js server to do proper SSR
// so we will use adapter-static to prerender the app (SSG)
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
2024-11-26 05:21:32 +00:00
preprocess: vitePreprocess(),
compilerOptions: { runes: true },
kit: {
adapter: adapter(),
},
2024-11-04 05:39:27 +00:00
};
export default config;