Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/preset-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ For more information on setting options for a preset, refer to the [preset optio

### `targets`

`string | Array<string> | { [string]: string }`, defaults to the top-level `targets` option if no browserslist-related option is specified in `@babel/preset-env`'s docs, otherwise to `{}`.
`string | Array<string> | { [string]: string }`, defaults to the top-level [`targets` option](options.md#targets) if [`configPath`](#configpath), [`browserslistEnv`](#browserslistenv) and [`ignoreBrowserslistConfig`](#ignorebrowserslistconfig) are not specified, otherwise to `{}`.

For usage, refer to the [`targets` option](options.md#targets) documentation.

> To maintain backward compatibility, `esmodules` is only intersected with `browsers` when using a top-level `targets` option or browserslist config source.

### `bugfixes`

`boolean`, defaults to `false`.
Expand Down