This commit is contained in:
Julian Tölle 2021-05-15 19:58:18 +02:00
parent 59a17fc303
commit efb8af0e47
9 changed files with 72 additions and 13 deletions

View file

@ -1,21 +1,20 @@
import sveltePreprocess from "svelte-preprocess";
import preprocess from "svelte-preprocess";
import vercel from "@sveltejs/adapter-vercel";
/** @type {import("@sveltejs/kit").Config} */
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
sveltePreprocess({
preprocess({
postcss: true,
}),
],
kit: {
adapter: vercel(),
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
adapter: vercel(),
},
};