bem/gulp-bem

Order of levels is not guaranteed

incrop opened this issue · 2 comments

var project = bem({
    bemconfig: {
        // These should probably be members of array, not object
        'common.blocks': { scheme: 'nested' },
        'desktop.blocks': { scheme: 'nested' }
    }
});
blond commented

The bem-config should not contains info about order to build. It helps to talk about scheme, naming and other info about level.

We should specify order to build bundle. Each bundle can consist of different set of levels.

For example:

bem.src({
    levels: ['level1', 'level2'],
    extensions: ['.bemhtml.js', '.bemhtml']
});
qfox commented

@incrop Feel free to reopen