hbs-precompiler

0.1.2 • Public • Published

hbs-precompiler

The hbs-precompiler manages handlebars templates for web sites that serve pages via ExpressJS. Hbs-precompiler precompiles handlebars templates into a single javascript file when express runs and continues to watch the template files for changes. When a template is changed, the templates are re-pre-compiled.

var Precompiler = require('hbs-precompiler');

var hbsPrecompiler = new Precompiler({
  in: '/path/with/templates',
  out: '/path/to/output.js',
  minify: true,
  watch: true
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    2
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i hbs-precompiler

Weekly Downloads

3

Version

0.1.2

License

BSD

Last publish

Collaborators

  • js62789