refactor: replace svelte.config.js with svelte.config.ts to eliminate untyped code

This commit is contained in:
nekename committed 2026-02-18 11:01:08 +00:00
1 parent 5290d223ea
commit 11a06332c7
1 file changed
+4 -6
+4 -6
View File
@@ -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;