enb / enb-bem-techs

ENB package to build BEM-projects
Other
22 stars 22 forks source link

levelsToBemdecl: cache doesn't updated on new blocks in levels #168

Open Guria opened 9 years ago

Guria commented 9 years ago
var enbBemTechs = require('enb-bem-techs');

module.exports=function(config){
    config.node('bundle', function(nodeConfig){
        nodeConfig.addTechs([
            [enbBemTechs.levels, { levels : [{ path : 'blocks', check : true }] }],
            enbBemTechs.levelsToBemdecl,
            enbBemTechs.deps,
            enbBemTechs.files,
            require('enb/techs/css')
        ]);
        nodeConfig.addTarget('?.css');
    });
};

Have to delete .enb/tmp/cache.js after adding new bem-entities.