Skip to content

mkehlmann/DustjsCompile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DustjsCompile

Installation

$ npm install dustjscompile

//to be able to use the 'dustjscompile' command anywhere, install globally with:

$ npm install -g dustjscompile

Features

Usage

dustjscompile uncompiledDirectory compiledDirectory [concatFile]

If you have the following file structure

DustjsCompile.js
/public
  /templates
  /compiledTemplates

Your usage would be:

dustjscompile /public/templates/ /public/compiledTemplates/

If you want to have all of the compiled templates concatenated into a single file , pass a third parameter:

dustjscompile /public/templates/ /public/compiledTempates/ /public/bundle.js

This will create 'bundle.js'

About

Compile dust files in a directory to an output directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published