kibana/x-pack/plugins/canvas/.babelrc
Joe Fleming 0c3aecc408 Chore: fix canvas test runner (#23336)
Blocked by https://github.com/elastic/kibana/pull/23342

This fixes the local test runner in Canvas. It should not affect anything else, including the CI test runner.

- Bumps JSDOM to ^12.0.0
  - I matched Kibana's version on migration, but nothing else in X-Pack uses JSDOM, so we can use the newer version (which has a very different API)
  - I had to match it because of a script that enforces version matching, but #23342 removed jsdom from Kibana, so we no longer have a version to match
- Restores the local `.babelrc` file
  - I thought it was only used for building plugins; I was wrong 😢
2018-09-20 11:23:48 -07:00

18 lines
217 B
Text

{
"plugins": [
"transform-object-rest-spread",
"transform-async-to-generator",
"transform-class-properties"
],
"presets": [
"react",
[
"env",
{
"targets": {
"node": "current"
}
}
]
]
}