gulp-jst_compiler

Compile jst templates using gulp.

Usage no npm install needed!

<script type="module">
  import gulpJstCompiler from 'https://cdn.skypack.dev/gulp-jst_compiler';
</script>

README

gulp-jst_compiler

A JST compiler plugin for Gulp

Build Status

Install

npm install gulp-jst_compiler --save-dev

Usage

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

gulp.task('jst', function () {
  gulp.src('./templates/**/*.jst.html')
    .pipe(jst('all.jst.js'))
    .pipe(gulp.dest('./public/js'));
});

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

Options

.pipe(jst('all.jst.js', {withoutKernel: true})) // compile without jst-kernel