The Dust project is no longer maintained.
broccoli-dust ![Build Status](https://camo.githubusercontent.com/e50b2602a37eedd4316237aa483c81428bf16df3f8977970645763f31a4c8011/68747470733a2f2f7472617669732d63692e6f72672f73696e647265736f726875732f62726f63636f6c692d647573742e7376673f6272616e63683d6d6173746572)
Precompile Dust templates
Issues with the output should be reported on the Dust issue tracker.
$ npm install --save-dev broccoli-dust
var dust = require('broccoli-dust');
tree = dust(tree, name);
Type: function
Default: Relative template path. Example: templates/list.dust
You can override the default behavior by supplying a function which gets the relative path and is expected to return the name.
Example:
tree = dust(tree, function (relativePath) {
return 'tpl-' + relativePath;
});
MIT © Sindre Sorhus