skeleton/svelte.config.js

21 lines
506 B
JavaScript
Raw Permalink Normal View History

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';
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
target: '#svelte',
adapter: adapter(),
2021-06-03 01:18:08 +00:00
},
};
export default config;