@wordpress/browserslist-config Edit

WordPress Browserslist shareable config for Browserslist.

Installation Installation

Install the module

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

Top ↑

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