hexo/node_modules/browserslist
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
browser.js 20231003 update 2023-10-03 11:14:36 +08:00
cli.js 20231003 update 2023-10-03 11:14:36 +08:00
error.d.ts 20231003 update 2023-10-03 11:14:36 +08:00
error.js 20231003 update 2023-10-03 11:14:36 +08:00
index.d.ts 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
node.js 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00
parse.js 20231003 update 2023-10-03 11:14:36 +08:00

README.md

Browserslist Cult Of Martians

Browserslist logo by Anton Popov

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

browsersl.ist website

Docs

Read full docs here.