Yoast browserslist shareable config for Browserslist.
Install the module
$ npm install browserslist @yoast/browserslist-config --save-devor
$ yarn add --dev @yoast/browserslist-configAdd this to your package.json file:
"browserslist": [
"extends @yoast/browserslist-config"
]Alternatively, add this to .browserslistrc file:
extends @yoast/browserslist-config
This package when imported returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the Browserslist examples repo.
This list is based on the list of browsers with a usage higher than 1 percent. This is according to the can I use statistics. We then take this list and reduce it to the browsers that we actually want to support based on our own usage data.
This list is periodically reviewed.