0.9.0 • Published 10 years ago

emblem-ember-brunch v0.9.0

Weekly downloads
-
License
Apache v2
Repository
-
Last release
10 years ago

emblem-ember-brunch

Brunch plugin to use the emblem npm module for compiling emblem templates.

This module relies entirly on npm modules. If you include it in your own project, you can freely select which version of the emblem and handlebars to use. The exception being that handlebars 2.0.0 is not supported yet, as that is not the version that is used by ember-template-compile.

This uses the Handlebars resolved from ember-template-compiler

How to install:

npm install --save emblem-brunch

Then, in your config.coffee:

exports.config =
  templates:
    joinTo: 'app.js'
    precompile: true
    root: 'app/'

Settings:

  • precompile: Wheter or not templates should be precompiled, default is false. With precompile false, the templates are still compiled from emblem to handlebars.
  • root: Root path to strip of the template names before exposing to Ember.TEMPLATES. Defaults to "app/"