website/svelte.config.js

24 lines
471 B
JavaScript
Raw Normal View History

2022-11-09 20:42:34 +02:00
import adapter from "@sveltejs/adapter-node";
import { vitePreprocess } from "@sveltejs/kit/vite";
2022-07-02 22:53:41 +03:00
import { mdsvex } from "mdsvex";
2022-02-28 19:12:33 +01:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
2022-07-02 22:53:41 +03:00
extensions: [".svelte", ".md"],
2022-02-28 19:12:33 +01:00
2022-07-02 22:53:41 +03:00
preprocess: [
vitePreprocess(),
2022-07-02 22:53:41 +03:00
mdsvex({
extensions: [".md"]
2022-07-02 22:53:41 +03:00
})
],
2022-02-28 19:12:33 +01:00
kit: {
2023-01-06 10:01:05 +02:00
adapter: adapter()
}
2022-02-28 19:12:33 +01:00
};
export default config;