// the find
phaserjs/template-webpack
A Phaser 3 project template that uses Webpack 5 for bundling
An official Phaser Studio starter template that wires up Phaser 3 with Webpack 5, hot-reload, and Babel transpilation. It's a clone-and-go starting point for browser games, nothing more. If you're picking up Phaser for the first time or starting a new project, this saves you an hour of config.
The asset handling approach is well thought out — you can either import assets as bundled modules or drop them in public/assets for static serving, and the template shows both patterns side by side. The dev/build split across two webpack configs is clean and avoids the common mistake of shipping source maps to production. The TypeScript sibling repo exists if you want types without having to migrate the config yourself. Actively maintained: Phaser 3.90 and Webpack 5.99 as of April 2026.
The silent telemetry in log.js is the kind of thing that would get flagged immediately in a code review — it phones home to gryzor.co on every dev start and build, and the opt-out requires either knowing to use the -nolog commands or manually editing package.json. The template ships no tests, no linting config, and no CI setup, so you're on your own the moment you grow past a toy project. The scene structure (Boot, Preloader, MainMenu, Game, GameOver) is exactly what every Phaser tutorial uses, which is fine for learning but gives you no architectural guidance once your game has actual complexity. No TypeScript by default in 2026 is a deliberate choice, but it's increasingly a friction point.