jest-buble

2.0.0 • Public • Published

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"
}

Readme

Keywords

none

Package Sidebar

Install

npm i jest-buble

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • kwanman