gruntjs / grunt-contrib-handlebars

Precompile Handlebars templates to JST file.
http://gruntjs.com/
MIT License
282 stars 126 forks source link

Adds support to build into an ES6 or ES2015 module #162

Closed ffflabs closed 7 years ago

ffflabs commented 8 years ago

Along with AMD and CommonJS modes, this PR enables the task to output compiled templates into an ES2015 module.

It also adds the faculty of overriding the root namespace (currently this) which is undefined in ES2015 modules.

README.md has also been updated.

jsf-clabot commented 8 years ago

CLA assistant check
All committers have signed the CLA.