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 😢
18 lines
217 B
Text
18 lines
217 B
Text
{
|
|
"plugins": [
|
|
"transform-object-rest-spread",
|
|
"transform-async-to-generator",
|
|
"transform-class-properties"
|
|
],
|
|
"presets": [
|
|
"react",
|
|
[
|
|
"env",
|
|
{
|
|
"targets": {
|
|
"node": "current"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|