frohzinn/bcbsma-storage / llama.cpp /tools /ui /svelte.config.js
frohzinn's picture
download
raw
900 Bytes
import { mdsvex } from 'mdsvex';
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
// CMake sets LLAMA_UI_OUT_DIR to the staging dir under the build tree; manual
// `npm run build` runs without the env var default to ./dist.
const outDir = process.env.LLAMA_UI_OUT_DIR ?? './dist';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: [vitePreprocess(), mdsvex()],
kit: {
paths: {
relative: true
},
router: { type: 'hash' },
adapter: adapter({
pages: outDir,
assets: outDir,
fallback: 'index.html',
precompress: false,
strict: true
}),
output: {
bundleStrategy: 'single'
},
alias: {
$styles: 'src/styles'
}
},
extensions: ['.svelte', '.svx']
};
export default config;

Xet Storage Details

Size:
900 Bytes
·
Xet hash:
9afff87cfa7333254eb297e273939d0d549bb5c473877dee1f0e3ab654e7d711

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.