Skip to content

seebigs/bundl-pack-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published