From 11a06332c7681b98cf2b29bce0828c6e504342dd Mon Sep 17 00:00:00 2001 From: nekename <63245705+nekename@users.noreply.github.com> Date: Wed, 18 Feb 2026 11:01:08 +0000 Subject: [PATCH] refactor: replace svelte.config.js with svelte.config.ts to eliminate untyped code --- svelte.config.js => svelte.config.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename svelte.config.js => svelte.config.ts (66%) 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;