This commit is contained in:
2025-09-08 02:21:37 +02:00
parent 396c3c9b44
commit 0fe4bad133
40 changed files with 1159 additions and 164 deletions

22
app/svelte.config.js Normal file
View File

@@ -0,0 +1,22 @@
import { mdsvex } from 'mdsvex';
import adapter from 'svelte-adapter-bun';
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: {
// Use Bun adapter for full SvelteKit functionality including API routes
adapter: adapter({
out: 'build',
precompress: false,
envPrefix: '',
development: false
})
},
extensions: ['.svelte', '.svx']
};
export default config;