bgenc.net/svelte.config.js

33 lines
636 B
JavaScript
Raw Normal View History

2023-12-23 13:13:16 -06:00
import adapter from '@sveltejs/adapter-static';
2023-11-18 11:09:07 -06:00
import { vitePreprocess } from '@sveltejs/kit/vite';
import { mdsvex } from 'mdsvex';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
vitePreprocess(),
mdsvex({
2023-11-18 12:19:29 -06:00
extensions: ['.md'],
2023-11-18 16:55:15 -06:00
smartypants: true,
remarkPlugins: [],
rehypePlugins: []
2023-11-18 11:09:07 -06:00
})
],
extensions: ['.svelte', '.md'],
kit: {
2023-12-23 13:13:16 -06:00
adapter: adapter({
strict: false,
pages: 'build'
}),
prerender: {
handleHttpError: 'warn'
}
2023-11-18 11:09:07 -06:00
}
};
export default config;