Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Latest commit

 

History

History

browserslist-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Browserslist Config

Yoast browserslist shareable config for Browserslist.

Installation

Install the module

$ npm install browserslist @yoast/browserslist-config --save-dev

or

$ yarn add --dev @yoast/browserslist-config

Usage

Add 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.

List determination

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.