feat(showroom): Testseite mit Dummies, Schildern und Panel

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
knsoandClaude Opus 5 committed 2026-09-17 22:58:20 +02:00
1 parent 12a77051d6
commit da4d078cab
6 files changed
+270

No files matched your search

+10
View File
@@ -1,3 +1,4 @@
import { fileURLToPath } from "node:url";
import { defineConfig } from "vite";
import { configDefaults } from "vitest/config";
@@ -6,6 +7,15 @@ export default defineConfig({
resolve: { dedupe: ["three", "three-mesh-bvh"] },
// Der BVH-Worker wird dynamisch aus three-mesh-bvh/src/workers/ geladen und darf nicht vorgebündelt werden.
optimizeDeps: { exclude: ["three-mesh-bvh", "three-player-controller"] },
// Zwei Seiten: das Spiel und die Animations-Testseite. Ohne diese Liste baut vite nur index.html.
build: {
rollupOptions: {
input: {
main: fileURLToPath(new URL("./index.html", import.meta.url)),
animationen: fileURLToPath(new URL("./animationen.html", import.meta.url)),
},
},
},
server: { host: true },
// Parallele Sitzungen legen ihre Arbeitsbäume unter .claude/worktrees/ in diesem Repository
// an. Ohne diesen Ausschluss sammelt vitest deren Testdateien mit ein — das verdoppelt die