dust loader for webpack (with names)
Compiles dust templates and exports the compiled functions, allowing for rendering of the templates in a browser environment.
Usage
var template = ;// => returns file.dust compiled as template function
Recommended config
moduleexports =module:loaders:test: /\.dust$/ loader: "dust-loader";
Then you only need to write: require("./file.dust")
Rendering a template
You will need to bundle the dust core in your pack in order to render the compiled templates.
; dust;
License
MIT (http://www.opensource.org/licenses/mit-license.php)