webpack
Hogan loader forCompiles Mustache templates with Hogan and optionally html-minifier.
Install
$ npm i -S hogan-loader
Usage
module: loaders: test: /\.html$/ loader: 'hogan' // loader: 'hogan?minify' // loader: 'hogan?{ minify: { removeComments: false } }'
var data = minify: removeComments: false data: foo: 'bar';var html = ;