0.0.6 • Published 9 years ago
gulp-prettylittle-handlebars v0.0.6
Gulp Static Handlebars
Please note this is very much still in development and a lot of issues have to be ironed out. There is currently a mix of methods of pulling data the files into the plugin. This currently suits my development, but the aim is to update and evolve this. As it's still in an early release, there is a chance that future releases may include breaking changes - However, I'll try not to do this.
Install
npm install gulp-static-handlebars
Usage
var handlebars = require('gulp-prettylittle-handlebars');
gulp.task('templates', function()
{
return gulp
.src('src/pages')
.pipe(handlebars(
{
data:'src/data',
helpers:'src/helpers/*.js',
partials:'src/partials/**/*.hbs',
masters:'src/masters',
}))
.pipe(gulp.dest('dist'))
});