dazzle/svelte.config.js

27 lines
841 B
JavaScript
Raw Permalink Normal View History

2025-04-25 14:28:12 +03:30
import { mdsvex } from 'mdsvex';
2025-05-05 16:54:00 +03:30
import { mdsvex_config } from './mdsvex.config.js';
2025-04-30 18:15:19 +03:30
2025-04-25 15:32:56 +03:30
import adapter from '@sveltejs/adapter-static';
2025-04-28 17:56:16 +03:30
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2025-04-25 14:28:12 +03:30
2025-04-25 15:32:56 +03:30
/** @type {import('@sveltejs/kit').Config} */
2025-04-25 14:28:12 +03:30
const config = {
2025-04-25 15:32:56 +03:30
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
},
2025-05-05 16:54:00 +03:30
extensions: ['.svelte', '.svx', '.md'],
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: [
vitePreprocess(),
mdsvex(mdsvex_config)
],
2025-04-25 14:28:12 +03:30
};
export default config;