Compile lodash templates to a JST file using gulp.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.travis.yml
README.md
index.js
package.json

README.md

gulp-jst Build Status

Compile lodash templates to a JST file using gulp.

Install

Install using npm.

npm install gulp-jst --save-dev

Usage

var gulp = require('gulp');
var jst = require('gulp-jst');

gulp.task('jst', function() {
    gulp.src('input/*.html')
        .pipe(jst())
        .pipe(gulp.dest('./output'));
});

gulp.task('default', ['jst']);

Options

jst(options)

gulp-jst accepts the same _.template options as the lodash library.