import { mdsvex } from 'mdsvex'; import staticAdapter from '@sveltejs/adapter-static'; import svp from 'svelte-preprocess'; // import slug from './src/lib/slug.js'; // import { addDropcaps } from './src/lib/dropcapify.js'; import { localPlugins } from './src/plugins/rehype.js'; const config = { extensions: ['.svelte', '.svx'], preprocess: [ mdsvex({ layout: './src/lib/Post.svelte', rehypePlugins: [localPlugins], }), svp.scss(), ], kit: { // hydrate the
element in src/app.html adapter: staticAdapter(), prerender: { default: true, }, } }; export default config;