webcompile/svelte.config.js

24 lines
471 B
JavaScript
Raw Normal View History

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