ein-pfeil-am-rechten-fleck.de/svelte.config.js

22 lines
476 B
JavaScript
Raw Normal View History

2021-05-15 19:58:18 +02:00
import preprocess from "svelte-preprocess";
2021-05-15 18:27:05 +02:00
import vercel from "@sveltejs/adapter-vercel";
2021-05-15 19:58:18 +02:00
/** @type {import('@sveltejs/kit').Config} */
2021-05-15 18:27:05 +02:00
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
2021-05-15 19:58:18 +02:00
preprocess({
2021-05-15 18:27:05 +02:00
postcss: true,
}),
],
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
2021-05-15 19:58:18 +02:00
adapter: vercel(),
2021-05-15 18:27:05 +02:00
},
};
export default config;