Answer the question
In order to leave comments, you need to log in
What is the correct way to use gulp-bem?
There is an example on github:
var gulp = require('gulp');
var bem = require('gulp-bem');
var concat = require('gulp-concat');
var levels = ['base', 'blocks'];
var tree = bem(levels);
tree.deps('blocks/page')
.pipe(bem.src('{bem}.css'))
.pipe(concat('index.css'))
.pipe(gulp.dest('./dist'));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question