tree: 3e662240316c0dd28e7b6a9d67c8d448f579ffd3 [path history] [tgz]
  1. browser.js
  2. cli.js
  3. error.d.ts
  4. error.js
  5. index.d.ts
  6. index.js
  7. LICENSE
  8. node.js
  9. package.json
  10. parse.js
  11. README.md
node_modules/browserslist/README.md

Browserslist Cult Of Martians

The config to share target browsers and Node.js versions between different front-end tools. It is used in:

All tools will find target browsers automatically, when you add the following to package.json:

  "browserslist": [
    "defaults and supports es6-module",
    "maintained node versions"
  ]

Or in .browserslistrc config:

# Browsers that we support

defaults and supports es6-module
maintained node versions

Developers set their version lists using queries like last 2 versions to be free from updating versions manually. Browserslist will use caniuse-lite with Can I Use data for this queries.

You can check how config works at our playground: browsersl.ist

Docs

Read full docs on GitHub.