import adapter from "@sveltejs/adapter-node"; import sveltePreprocess from "svelte-preprocess"; import { viteCommonjs } from "@originjs/vite-plugin-commonjs"; import wasmPack from "vite-plugin-wasm-pack"; import { isoImport } from "vite-plugin-iso-import"; import { mdsvex } from "mdsvex"; /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: [ sveltePreprocess(), mdsvex({ extensions: [".md"], layout: { docs: "src/routes/docs/doc.svelte", }, }), ], extensions: [".svelte", ".md"], kit: { adapter: adapter(), // hydrate the