grunt-handlebars-js

Precompile handlebars templates.

grunt-handlebars

Precompile handlebars templates. Written in 100% pure JS.

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-handlebars-js

Then add this line to your project's grunt.js gruntfile:

Usage:

 
  grunt.initConfig({
      handlebars: {
          'dest.js': [ 'client/lib/**.handlebars' ]
      },
 
      /* ... */
 
  });
 
  grunt.loadNpmTasks('grunt-handlebars-js');

(Coming soon)

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

(Nothing yet)

Copyright (c) 2012 Karl Gyllstrom
Licensed under the MIT license.