Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

enb-esnext

zolotoy3MIT0.1.0

enb esnext tech

enb, es6

readme

enb-esnext

Available technologies:

  • esnext

Usage

Install the package:

$ npm instal --save-dev enb-esnext

Add the tech to your project's make.js

var esnext = require('enb-esnext/techs/esnext');

module.exports = function(config) {
    config.node('bundle', function(node) {
        node.addTechs([
            [esnext, {
                source: '?.pre.js',
                target: '?.js'
            }]
        ]);

        node.addTarget('?.js');
    });
};