pressrun
v0.2.0
Published
Generate static HTML pages a webapp minimal bundle.
Downloads
1
Readme
pressrun
Generate static HTML pages a webapp minimal bundle.
Installation
npm install pressrun
Usage
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.
CLI
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
.