Nonviolent Pirate Mobster

    enb-bem-babel

    0.0.4 • Public • Published

    enb-bem-babel

    NPM version

    Available technologies:

    • bem-babel

    Usage

    Install the package:

    $ npm instal --save-dev enb-bem-babel
    

    Add the tech to your project's make.js

    var bemTechs = require('enb-bem-techs'),
        fileProvideTech = require('enb/techs/file-provider')
        bemBabel = require('enb-bem-babel/techs/bem-babel');
     
    module.exports = function(config) {
        config.node('bundle', function(node) {
            node.addTechs([
                [fileProvideTech, { target : '?.bemdecl.js' }],
                [bemTechs.levels, { levels : ['blocks'] }],
                [bemTechs.deps],
                [bemTechs.files]
                [bemBabel, { target : '?.js' }]
            ]);
     
            node.addTarget('?.js');
        });
    };

    License

    Code and documentation copyright 2015 YANDEX LLC. Code released under the Mozilla Public License 2.0.

    Keywords

    none

    Install

    npm i enb-bem-babel

    DownloadsWeekly Downloads

    12

    Version

    0.0.4

    License

    MPL-2.0

    Last publish

    Collaborators

    • dfilatov
    • varankinv
    • veged