kunkunsh-kunkun-ext-neohtop/svelte.config.js
2024-10-30 17:20:22 +01:00

19 lines
497 B
JavaScript

// 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 = {
kit: {
adapter: adapter(),
alias: {
$lib: 'src/lib'
}
},
preprocess: vitePreprocess()
};
export default config;