0.1.0 • Published 6 years ago
@bem/gulp-bh v0.1.0
gulp-bh
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'));
});
0.2.0-alpha.5212ae82
6 years ago
0.1.0
8 years ago