Skip to content

Latest commit

 

History

History

browserslist-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Browserslist Config

WordPress Browserslist shareable config for Browserslist.

Installation

Install the module

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

Usage

Add this to your package.json file:

"browserslist": [
	"extends @wordpress/browserslist-config"
]

Alternatively, add this to .browserslistrc file:

extends @wordpress/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.



Code is Poetry.