enb-js-browserify

A browserify driven alternative to enb-js


Keywords
enb, browserify, bem
License
MPL-2.0
Install
npm install enb-js-browserify@1.0.0

Documentation

enb-js-browserify

A browserify driven alternative to enb-js

Author: ertema
Example

const enbJsBrowserify = require('enb-js-browserify');

config.node('bundles/common', function(config) {
    config.addTechs([
        [
            enbJsBrowserify,
            {
                target: '?.browser.js', // default
                opts: { // Browserify options
                    fullPaths: Boolean, // Need for bundle analysis
                    debug: Booleam //  // Need for bundle analysis
                },
                plugins: […]
                transforms: […]
            }
        ]
    ]);
});

License

© 2018 YANDEX LLC. The code is released under the Mozilla Public License 2.0.