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

Latest commit

 

History

History
31 lines (25 loc) · 671 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 671 Bytes

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