/gulp-kit

Integrate node-kit with gulp

Primary LanguageJavaScript

gulp-kit

Integrates node-kit with gulp to compile .kit templates with your own build system.

Usage

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

gulp.task('default', function(){
    return gulp.src('src/kit/*.kit')
    .pipe(kit())
    .pipe(gulp.dest('dest/'));
});

Options

You can turn off the default behaviour of ignoring attempts to compile partials by passing {compilePartials : true} to the plugin.

  // ... as above
  .pipe( kit({compilePartials : true}) )
  // ... further pipes, as above