Skip to content

Commit

Permalink
Adding word to useBuiltIns section of preset-env page to improve mean…
Browse files Browse the repository at this point in the history
…ing (#2421)
  • Loading branch information
Richardinho authored Nov 16, 2020
1 parent 501c215 commit 4cba1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/preset-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ import "core-js/modules/esnext.math.scale";

You can read [core-js](https://github.com/zloirock/core-js)'s documentation for more information about the different entry points.

> NOTE: When using `core-js@2` (either explicitly using the [`corejs: 2`](#corejs) option or implicitly), `@babel/preset-env` will also imports and requires of `@babel/polyfill`.
> NOTE: When using `core-js@2` (either explicitly using the [`corejs: 2`](#corejs) option or implicitly), `@babel/preset-env` will also transform imports and requires of `@babel/polyfill`.
> This behavior is deprecated because it isn't possible to use `@babel/polyfill` with different `core-js` versions.
#### `useBuiltIns: 'usage'`
Expand Down

0 comments on commit 4cba1e6

Please sign in to comment.