space-game/src
Michael Mainguy c0b9f772ee Refactor main.ts: extract handlers and remove dead code
- Extract analytics init to src/analytics/initAnalytics.ts
- Extract level selection handler to src/core/handlers/levelSelectedHandler.ts
- Extract replay handler to src/core/handlers/viewReplaysHandler.ts
- Extract app initialization to src/core/appInitializer.ts
- Remove unused DemoScene and demo.ts
- Remove dead code: DEBUG_CONTROLLERS, webGpu, TestLevel handler
- Add BabylonJS shader pre-bundling to fix Vite dev server issues
- Reduce main.ts from 885 lines to 211 lines

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 04:26:48 -06:00
..
analytics Refactor main.ts: extract handlers and remove dead code 2025-11-29 04:26:48 -06:00
components Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
core Refactor main.ts: extract handlers and remove dead code 2025-11-29 04:26:48 -06:00
environment Cleanup batch 5: Remove unused exported types 2025-11-28 18:11:40 -06:00
game Refactor main.ts: extract handlers and remove dead code 2025-11-29 04:26:48 -06:00
levels Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
replay Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
services Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
ship Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
stores Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
ui Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
utils Add ESLint and refactor leaderboard to join with users table 2025-11-29 03:52:03 -06:00
main.ts Refactor main.ts: extract handlers and remove dead code 2025-11-29 04:26:48 -06:00
vite-env.d.ts Add Discord widget integration with dynamic script loading 2025-11-10 17:53:27 -06:00