- Transpiles TypeScript (if any)
index.htmlfile (in production)
- Zips the
- Checks that the zip file is under 13k
The commands assume Yarn is installed.
Starts webpack-dev-server at
http://0.0.0.0:8080. You should be able to access the server on your mobile device from your home network by going to your computer's IP address (e.g.
Builds, minifies, and inlines the game to
./dist/index.html. This command also runs webpack-bundle-analyzer, and places the report in
./dist/report.html. This report may be handy in figuring out which of your source files is putting you over the edge of 13k.
Builds, minifies, inlines, and zips the game to
./zipped/game.zip. This command finishes with a log message letting you know if the zip file is under 13k.