Too Long; Didn't Read
A Guide to Deploying Phaser 3 Webpack Games to Heroku explains how to do this. The guide uses Node.js, VSCode, Webpack and Express to deploy your game. The Phaser Game Game will be deployed on Heroku using Heroku's Node.JS and Express Webpack. This tutorial is based on the latest version of this article's guide to deploying a game on the Heroku platform. The guide is available on GitHub and Heroku.com.com.