aboutsummaryrefslogtreecommitdiffstats
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/svelte.config.js b/svelte.config.js
index d57b4d7..7469c80 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,10 +1,13 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import importMap from './import_map.json' with { type: 'json' };
+import { mdsvex } from 'mdsvex';
/** @type {import('@sveltejs/kit').Config} */
const config = {
- preprocess: vitePreprocess(),
+ preprocess: [mdsvex({
+ extensions: ['.svx'],
+ }), vitePreprocess()],
kit: {
paths: {
base: '/~mem',
@@ -25,6 +28,7 @@ const config = {
.filter((v) => v.length !== 0),
),
},
+ extensions: ['.svelte', '.svx'],
};
export default config;