From a7733c95f6a704ff1a23b75fe1b602d1d2c07115 Mon Sep 17 00:00:00 2001 From: elpatron Date: Wed, 1 Oct 2025 21:42:21 +0200 Subject: [PATCH] =?UTF-8?q?fix(build):=20f=C3=BCge=20index.html=20hinzu=20?= =?UTF-8?q?und=20konfiguriere=20Vite=20Build=20f=C3=BCr=20Hono-Setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 13 +++++++++++++ vite.config.ts | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..45baccb --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + Stargirlnails Kiel - Terminbuchung + + +
+ + + diff --git a/vite.config.ts b/vite.config.ts index 82548b4..18d296e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,6 +12,7 @@ export default defineConfig(({ mode }) => { process.env = env; } return { + root: ".", server: { host: "0.0.0.0", port: 5173, @@ -20,6 +21,12 @@ export default defineConfig(({ mode }) => { // Keine explizite HMR/Origin-Konfiguration, Vite-Defaults für localhost funktionieren am stabilsten }, publicDir: "public", + build: { + outDir: "dist", + rollupOptions: { + input: "index.html" + } + }, plugins: [ tsconfigPaths(), react(),