bem-archive / bem-tools

Toolkit to work with files based on BEM methodology
http://bem.info/tools/bem/
MIT License
395 stars 72 forks source link

levels: Ability to use objects in `getTechs` values #392

Closed veged closed 9 years ago

veged commented 11 years ago

Right now we write some thing like that:

exports.getTechs = function() {
    return {
        'bemjson.js' : join(PRJ_TECHS, 'bemjson.js.js'),
    };
};

It will be useful if we can write some thing like this:

exports.getTechs = function() {
    return {
        'bemjson.js' : getMyCustomTechModule()
    };
};

So we can implement tech modules inline, without need to create file.

narqo commented 11 years ago

:+1:

scf2k commented 11 years ago

@veged, @narqo, @arikon take a look https://github.com/bem/bem-tools/pull/446