Open belozer opened 7 years ago
const intoStream = require('into-stream');
const BemBundle = require('@bem/bundle');
intoStream(new BemBundle({
name: '',
path: '',
decl: [
{entity: {block: 'b1'}},
{entity: {block: 'b2'}},
]
})).pipe(...)
https://github.com/bem-sdk/bem-bundle/blob/master/lib/index.js#L11
Как можно задать сборщику bem-decl из gulpfile? Как это сделано здесь https://github.com/gulp-bem/gulp-bem-src
Нужно, чтобы проект держать более чистым (без лишних файлов на fs).