import "./index.css"; import { StartGame } from "./game"; document.addEventListener("DOMContentLoaded", () => { // Start the Phaser game immediately StartGame("game-container"); // Reload on resize to recalculate design resolution window.addEventListener("resize", () => { window.location.reload(); }); }); if (__DEV__) { console.log("Development mode"); }