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:
@@ -187,7 +187,7 @@ declare module "convert-source-map" {
|
||||
}
|
||||
|
||||
declare module "core-js-compat/data" {
|
||||
declare type Target = "node" | "chrome" | "opera" | "edge" | "firefox" | "safari" | "ie" | "ios" | "android" | "electron" | "samsung";
|
||||
declare type Target = "node" | "chrome" | "opera" | "edge" | "firefox" | "safari" | "ie" | "ios" | "android" | "electron" | "samsung" | "rhino";
|
||||
|
||||
declare module.exports: {
|
||||
[key: string]: {
|
||||
|
||||
Reference in New Issue
Block a user