chore(deps): re-init with latest svelte-kit

This commit is contained in:
Julian Tölle 2023-03-25 22:05:28 +01:00
parent 45e37e2038
commit db8d8e47ee
24 changed files with 553 additions and 1499 deletions

View file

@ -1,20 +1,17 @@
import preprocess from "svelte-preprocess";
import vercel from "@sveltejs/adapter-vercel";
import adapter from "@sveltejs/adapter-vercel";
import { vitePreprocess } from "@sveltejs/kit/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [
preprocess({
postcss: true,
}),
],
preprocess: vitePreprocess(),
kit: {
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
adapter: vercel(),
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
},
};