bundl-pack-babel

    2.0.0 • Public • Published

    bundl-pack-babel

    Transpile ES6 code with bundl-pack

    Learn more at babeljs.io

    Install

    $ npm install --save-dev bundl-pack-babel
    

    Use

    var Bundl = require('bundl');
    var pack = require('bundl-pack');
    var write = require('bundl-write');
     
    var babelProcessor = require('bundl-pack-babel');
     
    new Bundl('entry.js')
        .then(pack({
            js: {
                processor: babelProcessor,
                presets: ['es2015'] // uses "latest" if you do not specify
            }
        }))
        .then(write())
        .go();

    Keywords

    none

    Install

    npm i bundl-pack-babel

    DownloadsWeekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    2.28 kB

    Total Files

    5

    Last publish

    Collaborators

    • seebigs