The Dust project is no longer maintained.
broccoli-dust
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