diff --git a/docs/options.md b/docs/options.md index 34f90261ba..8a74ea10dc 100644 --- a/docs/options.md +++ b/docs/options.md @@ -334,6 +334,7 @@ Added in: `v7.13.0`
| Version | Changes | | --- | --- | +| `v7.24.0` | Support `hermes` target | | `v7.20.0` | Support `deno` target | | `v7.15.0` | Support `rhino` target | @@ -359,7 +360,7 @@ Or an object of minimum environment versions to support: } ``` -Supported environments: `android`, `chrome`, `deno`, `edge`, `electron`, `firefox`, `ie`, `ios`, `node`, `opera`, `rhino`, `safari`, `samsung`. +Supported environments: `android`, `chrome`, `deno`, `edge`, `electron`, `firefox`, `hermes`, `ie`, `ios`, `node`, `opera`, `rhino`, `safari`, `samsung`. If a minor version is not specified, Babel will interpret it as `MAJOR.0`. For example, `"node": 12` will be considered as Node.js 12.0. @@ -463,6 +464,20 @@ The minimum supported version is 1.0. } ``` +#### `targets.hermes` + +Type: `string`. + +The minimum supported version is 0.7. + +```json title="babel.config.json" +{ + "targets": { + "hermes": "0.12" + } +} +``` + ### `browserslistConfigFile` Type: `boolean`