Skip to content

Instantly share code, notes, and snippets.

@pootsbook
Last active December 18, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pootsbook/5725488 to your computer and use it in GitHub Desktop.
Save pootsbook/5725488 to your computer and use it in GitHub Desktop.
Precompiling Handlebars Templates with Rake::Pipeline
Issue about better documentation:
https://github.com/emberjs/ember.js/issues/2319
Handlebars PreCompiler, Barber:
https://github.com/tchak/barber
SO Question about PreCompilation with Rake::Pipeline:
http://stackoverflow.com/questions/8558062/setting-up-rake-pipeline-for-use-with-handlebars-alongside-google-app-engine
Blog Post about Barber Handlebars precompilation:
http://ianpetzer.wordpress.com/2013/06/06/ensure-your-ember-templates-get-the-correct-name-when-pre-compiling-using-barber/
An example Rake-Pipeline Assetfile with Handlebars precompilation:
https://github.com/ianpetzer/ember_phonegap_starter/blob/master/Assetfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment