For now, we are using ollama as an external dependency. Ollama already has its own Mac distribution, and we can simply instruct users to install Ollama if they don't already have it.
16 lines
457 B
JavaScript
16 lines
457 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 = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter(),
|
|
},
|
|
};
|
|
|
|
export default config;
|