npm.io
2.0.0 • Published 9 years ago

jest-buble

Licence
MIT
Version
2.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

jest-buble

Jest plugin to use buble for transformation.

Usage

$ yarn add --dev jest-buble buble

In your package.json:

  "jest": {
    "transform": {
      "^.+\\.js$": "jest-buble"
    }
  }

Configuring buble

Jest doesn't support passing in options to transformers through their config, so you can define a .bublerc JSON file with your buble options:

// .bublerc
{
  "objectAssign": "Object.assign"
}