Jest plugin to use buble and babel(handle ES Modules) for transformation
npm i buble-jest buble -D
"transform": {
"^.+\\.jsx?$": "buble-jest"
}
Built-in cosmiconfig so you can use .bublerc
, buble.config.js
or configure it in package.json
.
package.json
{
"buble": {
"transform": {
"modules": false
},
"objectAssign": "Object.assign"
}
}
MIT