Browserslist

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env.

Installation

npm install --save-dev browserslist

Configuration

.browserslistrc

# Browsers that we support

> 0.5%
last 2 versions
Firefox ESR
not dead

package.json

{
    "browserslist": [
        "> 0.5%",
        "last 2 versions",
        "Firefox ESR",
        "not dead"
    ]
}