2021-06-03 01:18:08 +00:00
|
|
|
import { mdsvex } from "mdsvex";
|
|
|
|
|
import { mdsvexConfig } from "./mdsvex.config.js";
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
|
import sveltePreprocess from 'svelte-preprocess';
|
2021-06-03 21:55:45 +00:00
|
|
|
import adapter from '@sveltejs/adapter-static';
|
2021-06-03 01:18:08 +00:00
|
|
|
|
|
|
|
|
const config = {
|
|
|
|
|
extensions: [".svelte", ...mdsvexConfig.extensions],
|
|
|
|
|
preprocess: [
|
|
|
|
|
mdsvex(mdsvexConfig),
|
|
|
|
|
sveltePreprocess(),
|
|
|
|
|
],
|
|
|
|
|
kit: {
|
|
|
|
|
// hydrate the <div id="svelte"> element in src/app.html
|
2021-06-03 21:55:45 +00:00
|
|
|
target: '#svelte',
|
|
|
|
|
adapter: adapter(),
|
2021-06-03 01:18:08 +00:00
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|