gulp-hamlet-compile

Compile hamlet templates (see: https://github.com/inductor-labs/hamlet)

gulp-hamlet-compile

A hamlet-compiler plugin for gulp

Compile your hamlet templates with ease!

var gulp = require('gulp');
var hamlc = require('gulp-hamlet-compile');
 
gulp.task('hamlet', function () {
    gulp.src('./templates/**/*.haml')
        .pipe(hamlc())
        .pipe(gulp.dest('./build'));
});

Type: String

Export compiled template as (default module.exports).

Type: String

Runtime provider (default hamlet-runtime).

See more examples on how to use hamlet here. Also check official tutorials here.

MIT