grunt-emberify: Precompile your Ember Handlebars and assign to Ember.TEMPLATES
Precompile handlebars templates to a single JS file where templates are saved to Ember.TEMPLATES.
Getting Started
Install this grunt plugin next to your project's grunt.js gruntfile with:
npm install grunt-emberify
Then add this line to your project's grunt.js
gruntfile:
Usage:
grunt.initConfig({
handlebars: {
'allMyTemplates.js': [ 'client/lib/**.handlebars' ]
},
});
grunt.loadNpmTasks('grunt-emberify');
Documentation
(Coming soon)
License
Copyright (c) 2012 Karl Gyllstrom
Licensed under the MIT license.