Files
musicmouse/tippen/vite.config.ts

12 lines
461 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// Deliberately standalone: no proxy, no backend, no shared build with ../web. The game
// is pure client state (localStorage), so `vite dev` on its own is the whole runtime.
// Port 5174 so it can run next to the music player's 5173 without a clash.
export default defineConfig({
plugins: [react()],
server: { port: 5174 },
build: { outDir: "dist", emptyOutDir: true },
});