Skip to content

Commit 52579aa

Browse files
dhurlburtusamontogeek
authored andcommitted
docs(guides): Add Link to useBuiltIns at Babel (#2631)
1 parent 58e159d commit 52579aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/guides/shimming.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ contributors:
99
- svyandun
1010
- byzyk
1111
- EugeneHlushko
12+
- dhurlburtusa
1213
related:
1314
- title: Reward modern browser users script
1415
url: https://hackernoon.com/10-things-i-learned-making-the-fastest-site-in-the-world-18a0e1cdf4a7#c665
@@ -425,7 +426,7 @@ If we run our build, another `polyfills.bundle.js` file will be emitted and ever
425426

426427
## Further Optimizations
427428

428-
The `babel-preset-env` package uses [browserslist](https://github.com/browserslist/browserslist) to transpile only what is not supported in your browsers matrix. This preset comes with the `useBuiltIns` option, `false` by default, which converts your global `babel-polyfill` import to a more granular feature by feature `import` pattern:
429+
The `babel-preset-env` package uses [browserslist](https://github.com/browserslist/browserslist) to transpile only what is not supported in your browsers matrix. This preset comes with the [`useBuiltIns`](https://babeljs.io/docs/en/babel-preset-env#usebuiltins) option, `false` by default, which converts your global `babel-polyfill` import to a more granular feature by feature `import` pattern:
429430

430431
``` js
431432
import 'core-js/modules/es7.string.pad-start';

0 commit comments

Comments
 (0)