ai-code-battle/web/vite.config.ts
jedarden 4f77980398 Complete Phase 3: TypeScript Canvas replay viewer
- Add web/ directory with TypeScript + Vite build tooling
- Implement ReplayViewer class with Canvas-based grid rendering
- Add play/pause, scrub, and speed controls with keyboard shortcuts
- Implement fog of war perspective toggle per player
- Add score overlay with player names, scores, and energy
- Support loading replays from local file or URL
- Add match info panel and event log display

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 07:30:04 -04:00

12 lines
173 B
TypeScript

import { defineConfig } from 'vite'
export default defineConfig({
root: '.',
build: {
outDir: 'dist',
sourcemap: true,
},
server: {
port: 3000,
},
})