feat(homelab)!: migrate to svelte kit, add more server stats endpoints

This commit is contained in:
2026-01-12 00:09:22 -08:00
parent 73f8cb91c4
commit da17ccc446
30 changed files with 722 additions and 107 deletions

View File

@@ -1,8 +1,14 @@
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
import adapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import("@sveltejs/vite-plugin-svelte").SvelteConfig} */
/** @type {import("@sveltejs/kit").Config} */
export default {
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// for more information about preprocessors
preprocess: vitePreprocess(),
}
kit: {
adapter: adapter({
fallback: "index.html",
}),
},
};