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 1f43dff2c5
commit a78a8fdef1
31 changed files with 722 additions and 108 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",
}),
},
};