enb / enb-bem-techs

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

deps-by-tech: should not respect context for other entities #201

Closed blond closed 8 years ago

blond commented 8 years ago

If file with name block__elem.deps.js will contain:

({
    tech: 'js',
    shouldDeps: {
        block: 'other-block',
        tech: 'bemhtml'
    }
})

Actual:

exports.blocks = [{
    name: 'other-block', 
    elems: [{ name: 'elem' }]
}];

Expected:

exports.blocks = [{
    name: 'other-block'
}];

Is the same true for mod files.