node package manager


Hogan template transpiler plugin for component/builder.js


A plugin to transpile mustache templates for component builder, using Hogan.

Note the structure of this plugin is largely cargo-culted from segmentio/component-jade.

$ npm install component-hogan

Add your mustache files (.mustache or .stache) to the templates array in your component.json:

  "templates": [

To use the plugin during your build process (component >= 0.13.0):

$ component build --use component-hogan