Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

gulp-bem/gulp-bh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-bh

DEPRECATED repository, moved to mono repository gulp-bem

Gulp plugin for executing https://github.com/bem/bh templates.

var gulp = require('gulp'),
    bh = require('@bem/gulp-bh')();

gulp.task('default', function() {
    gulp.src('*.bh.js')
        .pipe(bh.match());

    return gulp.src('index.bemjson.js')
        .pipe(bh.apply('index.html'))
        .pipe(gulp.dest('./bundle'));
});