2024-12-09 21:53:43 +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 = {
|
|
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
|
|
adapter: adapter(),
|
2024-12-10 09:08:23 +00:00
|
|
|
alias: {
|
|
|
|
'@/*': "./src/lib/*",
|
|
|
|
"$lib": "./src/lib",
|
|
|
|
"$lib/*": "./src/lib/*"
|
|
|
|
}
|
2024-12-09 21:53:43 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|