Home

Awesome

gulp-bem-pack

NPM version Build Status

Gulp wrapper of bem-pack.

Usage

var gulp = require('gulp');
var bempack = require('gulp-bem-pack');

gulp.src(['base/*.js', 'main/*.js'])
    .pipe(bempack('index.js'))
    .pipe(gulp.dest('dist'));

API

gulp-bem-pack(filename, [options])

filename

Type: String

File name of generated JavaScript file.

options

Type: Object

Object with options, that will be directly passed to bem-pack.

License

MIT (c) 2014 Vsevolod Strukchinsky