@bem/gulp-bh

0.1.0 • Public • Published

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'));
});

/@bem/gulp-bh/

    Package Sidebar

    Install

    npm i @bem/gulp-bh

    Homepage

    bem.info/

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • blond
    • qfox
    • tadatuta
    • veged
    • vithar
    • yeti-or