add mdsvex
Some checks failed
Deployment / Deploy website (push) Successful in 3m32s
Deployment / Deploy strapi (push) Failing after 1m3s

This commit is contained in:
Benjamin Palko 2026-01-22 19:18:49 -05:00
parent 53a7fcf930
commit 4673e8dbe6
3 changed files with 27 additions and 5 deletions

View file

@ -1,20 +1,21 @@
import adapter from "@sveltejs/adapter-node";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import { mdsvex } from 'mdsvex';
import adapter from '@sveltejs/adapter-node';
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()],
preprocess: [vitePreprocess(), mdsvex()],
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter(),
adapter: adapter()
},
extensions: [".svelte"],
extensions: ['.svelte', '.svx']
};
export default config;