mirror of
https://github.com/nekename/OpenDeck.git
synced 2026-10-28 09:44:01 +00:00
refactor: replace svelte.config.js with svelte.config.ts to eliminate untyped code
This commit is contained in:
1 file changed
+4
-6
@@ -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;
|
||||
Reference in new issue
Block a user