mirror of
https://github.com/BradNut/skeleton
synced 2025-09-08 17:40:25 +00:00
20 lines
506 B
JavaScript
20 lines
506 B
JavaScript
import { mdsvex } from "mdsvex";
|
|
import { mdsvexConfig } from "./mdsvex.config.js";
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
import sveltePreprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
|
|
const config = {
|
|
extensions: [".svelte", ...mdsvexConfig.extensions],
|
|
preprocess: [
|
|
mdsvex(mdsvexConfig),
|
|
sveltePreprocess(),
|
|
],
|
|
kit: {
|
|
// hydrate the <div id="svelte"> element in src/app.html
|
|
target: '#svelte',
|
|
adapter: adapter(),
|
|
},
|
|
};
|
|
|
|
export default config;
|