summaryrefslogtreecommitdiff
path: root/svelte.config.js
blob: dd656c3b9a2c8c4dc864150f623a7ba6a8d7f509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { mdsvex } from "mdsvex";
import adapter from "@sveltejs/adapter-static";
import mdsvexConfig from "./mdsvex.config.js";

/** @type {import('@sveltejs/kit').Config} */
const config = {
  kit: {
    adapter: adapter({ precompress: true }),
    paths: { relative: false },
    inlineStyleThreshold: 100_000,
  },
  preprocess: [mdsvex(mdsvexConfig)],
  extensions: [".svelte", ".svx"],
};

export default config;