mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-17 04:09:19 +00:00
# Conflicts: # .github/labeler.yml # .github/workflows/build-self-hosted.yml # .github/workflows/release.yml # .github/workflows/server-sanitize.yml # .github/workflows/server-self-hosted.yml # .github/workflows/server.yml # .github/workflows/ui-build.yml # .github/workflows/ui-ci.yml # .github/workflows/ui-publish.yml # .gitignore # CMakeLists.txt # CODEOWNERS # scripts/ui-download.cmake # scripts/xxd.cmake # tests/test-backend-ops.cpp # tests/test-reasoning-budget.cpp # tools/CMakeLists.txt # tools/server/CMakeLists.txt # tools/server/README.md
38 lines
798 B
JavaScript
38 lines
798 B
JavaScript
import { mdsvex } from 'mdsvex';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: [vitePreprocess(), mdsvex()],
|
|
|
|
kit: {
|
|
paths: {
|
|
base: '/lcpp',
|
|
relative: true
|
|
},
|
|
router: { type: 'hash' },
|
|
adapter: adapter({
|
|
pages: '../../build/tools/ui/dist',
|
|
assets: '../../build/tools/ui/dist',
|
|
fallback: 'index.html',
|
|
precompress: false,
|
|
strict: true
|
|
}),
|
|
output: {
|
|
bundleStrategy: 'single'
|
|
},
|
|
alias: {
|
|
$styles: 'src/styles'
|
|
},
|
|
version: {
|
|
name: 'llama-ui'
|
|
}
|
|
},
|
|
|
|
extensions: ['.svelte', '.svx']
|
|
};
|
|
|
|
export default config;
|