0.0.1 • Published 12 years ago
dustjscompile v0.0.1
DustjsCompile
Compile dust files in a directory to an output directory
Usage: node DustjsCompile.js uncompiledDirectory compiledDirectory concatFile
If you have the following file structure
DustjsCompile.js
/public
/templates
/compiledTemplatesYour usage would be:
node dustjscompile /public/templates/ /public/compiledTemplates/If you want to have all of the compiled templates concatenated into a single file , pass a 3 parameter:
node dustjscompile /public/templates/ /public/compiledTempates/ /public/bundle.jsThis will create 'bundle.js'