https://github.com/maakep/phaser3-typescript-template (that's the foundation of this project) https://github.com/troyedwardsjr/phaser3-typescript-webpack/blob/master/tsconfig.json https://github.com/rroylance/phaser-ce-npm-webpack-typescript-starter-project/blob/7fde95c77b/src/app.ts https://gamedevacademy.org/creating-a-preloading-screen-in-phaser-3/?a=13
npm i
With this repo you'll need to download & replace the type definitions (located in /src/phaser.d.ts) with the ones from typescript docs to get the latest type definitions, or create a solution to do it automatically.
npm run build
or
npm run watch
npm start
then browse to http://localhost:8080