fix md href & add static adapter

This commit is contained in:
2024-07-10 23:27:40 +02:00
parent 58c3a00e84
commit 750583a217
12 changed files with 37 additions and 7 deletions
+10 -2
View File
@@ -1,10 +1,18 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
import { sveltePreprocess } from 'svelte-preprocess';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter()
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
},
preprocess: [vitePreprocess(), sveltePreprocess({})]
};