init
This commit is contained in:
22
app/svelte.config.js
Normal file
22
app/svelte.config.js
Normal 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;
|
Reference in New Issue
Block a user