added mdsvex

This commit is contained in:
2025-12-04 20:10:23 +00:00
parent 3585942030
commit c589b68013
3 changed files with 133 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { mdsvex } from 'mdsvex';
const missingPaths = [
// "/games/swordsnstuff",
@@ -23,6 +24,13 @@ const config = {
handleMissingId: 'ignore',
},
},
extensions: ['.svelte', '.md'],
preprocess: [
vitePreprocess(),
mdsvex({
extensions: ['.md']
}),
]
};
export default config;