2.0.0 • Published 7 years ago

bit-loader-babel v2.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

bit-loader-babel

babel plugin for bit loader.

Examples

simple bit-bundler setup. This will pick up you .babelrc config files.

var Bitbundler = require("bit-bundler");

var bitbundler = new Bitbundler({
  loader: [
    "bit-loader-babel"
  ]
})

configuring a different babel core

bit-loader-babel uses the babel-core module to transpile your code, and it ships with one by default. You can override the babel-core module that bit-loader-babel uses if you need newer/older/specific versions of babel.

var Bitbundler = require("bit-bundler");
var babelCore = require("babel-core");

var bitbundler = new Bitbundler({
  loader: [
    ["bit-loader-babel", {
      core: babelCore,
    }]
  }
})

License

License under MIT

2.0.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago