diff --git a/svelte.config.js b/svelte.config.ts similarity index 66% rename from svelte.config.js rename to svelte.config.ts index 80bfc66..205a0c5 100644 --- a/svelte.config.js +++ b/svelte.config.ts @@ -1,13 +1,11 @@ +import type { Config } from "@sveltejs/kit"; + import adapter from "@sveltejs/adapter-static"; import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; -/** @type {import("@sveltejs/kit").Config} */ -const config = { +export default { preprocess: vitePreprocess(), - kit: { adapter: adapter(), }, -}; - -export default config; +} satisfies Config;