ember-precompiler-brunch

Another Brunch plugin for Ember.js template precompiling

npm install ember-precompiler-brunch
9 downloads in the last day
40 downloads in the last week
148 downloads in the last month

ember-precompiler-brunch

Another Ember template precompiling plugin for brunch.

Your application's jQuery, Handlebars and Ember files are used when compiling templates so there are never any version discrepancies.

Usage

Add "ember-precompiler-brunch": "x.y.z" to package.json of your brunch app.

Add precompile: true and paths to the files.templates object of your app's config.coffee

files:
  templates:
    precompile: true
    defaultExtension: 'hbs'
    joinTo: 'js/templates.js' : /^app/
    paths:
      jquery: 'vendor/scripts/jquery.js'
      handlebars: 'vendor/scripts/handlebars.js'
      ember: 'vendor/scripts/ember.js'

yep.

npm loves you