char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
f2efd6414
char/aliceai-t5-moe
1import adapter from '@sveltejs/adapter-static' ; 2import { vitePreprocess } from '@sveltejs/vite-plugin-svelte' ; 3import { mdsvex } from 'mdsvex' ; 4 5// CMake sets LLAMA_UI_OUT_DIR to the staging dir under the build tree; manual 6// `npm run build` runs without the env var default to ./dist. 7const outDir = process . env . LLAMA_UI_OUT_DIR ?? './dist' ; 8/** @type { import('@sveltejs/kit').Config } */ 9const config = { 10extensions :[ '.svelte' , '.svx' ], 11 12kit :{ 13adapter :adapter ({ 14assets :outDir , 15fallback :'index.html' , 16pages :outDir , 17precompress :false , 18strict :true 19}), 20output :{ 21bundleStrategy :'single' 22}, 23paths :{ 24relative :true 25}, 26router :{ type :'hash' } 27}, 28 29// Consult https://svelte.dev/docs/kit/integrations 30// for more information about preprocessors 31preprocess :[ vitePreprocess (), mdsvex ()] 32}; 33 34export default config ;