dazzle/svelte.config.js

26 lines
799 B
JavaScript
Raw Normal View History

2025-04-25 14:28:12 +03:30
import { mdsvex } from 'mdsvex';
2025-04-25 15:32:56 +03:30
import adapter from '@sveltejs/adapter-static';
2025-04-25 17:13:38 +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
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
2025-04-25 17:13:38 +03:30
preprocess: [
mdsvex({
extensions: ['.md', '.svx'],
})
],
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-04-25 14:28:12 +03:30
extensions: ['.svelte', '.svx']
};
export default config;