PluralKit/docs/svelte.config.js
2026-01-18 06:08:06 -05:00

26 lines
546 B
JavaScript

import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { mdsvex } from 'mdsvex';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: [
mdsvex({
extensions: [".md"]
}),
vitePreprocess(),
],
extensions: [".svelte", ".md"],
kit: {
adapter: adapter(),
alias: {
$components: "src/components",
$lib: "src/lib",
}
}
};
export default config;