fredboniface.co.uk-svelte/svelte.config.js

21 lines
782 B
JavaScript
Raw Normal View History

2023-08-17 18:29:25 +01:00
import adapter from '@sveltejs/adapter-node';
2023-08-16 23:31:28 +01: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
extensions: ['.svelte', '.md', '.svx'],
2023-08-17 17:01:18 +01:00
preprocess: [vitePreprocess(), mdsvex({ extensions: ['.md', '.svx'] })],
2023-08-16 23:31:28 +01:00
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
export default config;