Generate static HTML pages a webapp minimal bundle.
npm install pressrun
pressrun
works by parsing your original index.html and running every script that it finds inside. This will allow you to get a new static html file containing DOM elements that are generated on the first render from your javascript.
Then, it will look for any local links in this page, and recursively generate other pages for each of them.
pressrun [entry] [output]
entry
should be the directory in which your original index.html file is located.
output
is optional and is the directory in which you would like your files to be generated. By default it is the same as entry
.