mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 01:15:42 -06:00
Remove react-animated-numbers dependency which caused production-only crashes due to CommonJS/ESM interop issues with Vite's production bundler. Replace animated score displays with simple toLocaleString() formatting. Also add missing +config.ts to disable SSR for the leaderboard page, fixing 307 redirect loop caused by SSR/prerender configuration mismatch. Changes: - Remove react-animated-numbers from package.json - Add web/pages/leaderboard/+config.ts with ssr: false - Replace AnimatedNumbers component with direct number formatting - Simplify leaderboard score display (no animation, instant render)