0.0.2 • Published 6 years ago
gulp-bem-bundler-merged v0.0.2
gulp-bem-bundler-merged
Install
$ npm install --save-dev gulp-bem-bundler-merged
Usage
const bundler = require('gulp-bem-bundler-fs');
const mergedBundler = require('gulp-bem-bundler-merged');
bundler('*.bundles/*')
.pipe(mergedBundler({
name: 'common',
path: './*.bundles/common'
}))
.on('data', data => {
console.log(data.name);
console.log(data.decl);
});
// common
// [ {block: 'a'}, {block: 'b'}, {block: 'c'}, ... ]
0.1.0-alpha.5212ae82
6 years ago
0.0.2
7 years ago