import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import { mdsx } from 'mdsx'; import { mdsxConfig } from './mdsx.config.js'; /** @type {import('@sveltejs/kit').Config} */ const config = { preprocess: [mdsx(mdsxConfig), vitePreprocess()], extensions: ['.svelte', '.md'], kit: { adapter: adapter({ fallback: 'index.html', pages: './build', }), alias: { '$docs/*': '.velite/*', }, }, }; export default config;