This is a Hogan compiler for the Mimosa build tool. This module is for use with Mimosa 2.0+
. This replicates the functionality of the Hogan compiler that was built into Mimosa before 2.0
.
For more information regarding Mimosa, see http://mimosa.io
Add 'hogan'
to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch
or mimosa build
.
This module will compile Hogan files during mimosa watch
and mimosa build
.
This module utilizes all of the built-in template behavior that comes with Mimosa's basic template compiler. See the mimosa website for more information about how templates are treated or check out the various template
configuration options.
hogan:
lib: undefined
extensions: [ "hogan" ]
lib
: You may want to use this module but may not be ready to use the latest version of Hogan. Using thelib
property you can provide a specific version of Hogan if the one being used by this module isn't to your liking. To provide a specific version, you must have itnpm install
ed into your project and then provide it tolib
. For instance:lib: require('hogan.js')
.extensions
: an array of strings, the extensions of your Hogan files.