gulp-bem-bundler-merged

0.0.2 • Public • Published

gulp-bem-bundler-merged

NPM Status Travis Status Coverage Status

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

Readme

Keywords

Package Sidebar

Install

npm i gulp-bem-bundler-merged

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • blond
  • qfox