Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

gulp-bem/gulp-bem-bundler-merged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-bem-bundler-merged

DEPRECATED repository, moved to mono repository gulp-bem

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'}, ... ]