Looking at the Handlebars.js documentation for precompilation.
The instructions are for OSX. Can this be done on Windows as well?
If so, when they say to "install node and npm" does "node" refer to "node.js"?
Run in the command prompt:
npm install handlebars -g
Now you can use the following syntax in the command prompt:
handlebars <input> -f <output>
,where <input>
is an original template file name, and <output>
is a pre-compliled template file name.
Example:
handlebars person.hbr -f person.js