Clarify polyfilling and browserlist usage documentation
Created by: hugomallet
Hi,
The docs about supported browsers is not clear.
After reading it i still dont understand the following :
- If the polyfills are not imported, what the browserlist field in package.json is used for ?
- If i need to support ie11 (and Array.includes for example), what do i need to do exactly ?
- Is @babel/preset-env used to automatically require polyfills ?
- Moreover the docs from @babel/preset-env (included with preset react app) indicates to import @babel/polyfill which is now deprecated.
react-app-polyfill/stable.js
requires the correct packagecore-js/stable
but is browserlist still used using this file ?
Thanks for your help