gulp-bem-js-pack
Packing CommonJS modules with respect of levels of definition.
If you pass file with same ID twice to module, it will require first module by it ID from second.
// base/first.js (with ID `first`)moduleexports = 'BASE'; // first.js (with ID `first`)var First = ; // returns 'BASE'moduleexports = First + '!';
Usage
var gulp = ;var bempack = ; gulp;
API
bempack.pack([options])
Wrapper around browser-pack
that takes stream of BEM objects
License
MIT (c) 2014 Vsevolod Strukchinsky