gulp-bem-pack

August 28, 2014 ยท View on GitHub

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

Contents

  1. 1Usage
  2. 2API
  3. 2.1gulp-bem-pack(filename, [options])
  4. 3License