gulp-dustin
Install
npm i gulp-dustin --save
Usage
.copy(dest, resolvePath, options)
Copy browser scripts to the dest folder.
Set the template base path to resolvePath
.
This path will be used in the browser to include templates like so:
resolvePath+template+".js"
where template
is a template name like "layout/page"
,
so this option should be something like /templates/
or an absolute dir where templates are compiled to.
options.dustinHelpers
Bundle built in dustin helpers.
options.dustHelpers
Bundle linkedin's dustjs-helpers.
options.userHelpers
Bundle user defined helpers matched by a glob pattern.
.compile(options)
Options are the same as for dustin.
.render(options, context)
Options are the same as for dustin.
context
will be passed to adapter.render
under the hood.
var gulp = var concat = var dustin = gulp gulp dustin gulp
Licence
MIT