Skip to content

enb/enb-bem-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published