Add support for rhino as a compilation target (#13448)

* Add support for rhino as a compilation target

* Add tests for target: rhino

* Fix test failing due to whitespace

* Keep consistent names for rhino tests in babel 7 and 8

* Bump core-js-compat to 3.15.0

* Change references to rhino to include patch version

* Update compat table data import

* Split transpilation of arrow function features more finely

* Rename rhino fixtures to include the patch number and update to include syntax that is and isn't supported for better testing

* Only use the relevant features for transform-new-target and transform-classes
This commit is contained in:
Samuel Gaus
2021-08-03 22:03:16 +01:00
committed by GitHub
parent a254ea38a4
commit 830b99dc83
14 changed files with 138 additions and 7 deletions

View File

@@ -30,6 +30,7 @@ exports.environments = [
"ios",
"phantom",
"samsung",
"rhino",
];
const compatibilityTests = compatSources.flatMap(data =>