Skip to content

Commit

Permalink
docs: update doc about targets
Browse files Browse the repository at this point in the history
  • Loading branch information
KAROTT7 committed Dec 26, 2022
1 parent 9f3f383 commit b49206b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-legacy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ npm add -D terser
### `targets`

- **Type:** `string | string[] | { [key: string]: string }`
- **Default:** `{}`
- **Default:** `undefined`

If explicitly set, it's passed on to [`@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env#targets).

The query is also [Browserslist compatible](https://github.com/browserslist/browserslist). The value, `'defaults'`, is what is recommended by Browserslist. See [Browserslist Best Practices](https://github.com/browserslist/browserslist#best-practices) for more details.
The query is also [Browserslist compatible](https://github.com/browserslist/browserslist). The value `'defaults'`, is what is recommended by Browserslist. See [Browserslist Best Practices](https://github.com/browserslist/browserslist#best-practices) for more details.

### `polyfills`

Expand Down

0 comments on commit b49206b

Please sign in to comment.