郑柏铃 8ab83f9df6 学习 10 mesi fa
..
node_modules 8ab83f9df6 学习 10 mesi fa
LICENSE 8ab83f9df6 学习 10 mesi fa
README.md 8ab83f9df6 学习 10 mesi fa
browser.js 8ab83f9df6 学习 10 mesi fa
cli.js 8ab83f9df6 学习 10 mesi fa
error.d.ts 8ab83f9df6 学习 10 mesi fa
error.js 8ab83f9df6 学习 10 mesi fa
index.d.ts 8ab83f9df6 学习 10 mesi fa
index.js 8ab83f9df6 学习 10 mesi fa
node.js 8ab83f9df6 学习 10 mesi fa
package.json 8ab83f9df6 学习 10 mesi fa
parse.js 8ab83f9df6 学习 10 mesi fa

README.md

Browserslist

<img width="120" height="120" alt="Browserslist logo by Anton Popov"

 src="https://browsersl.ist/logo.svg" align="right">

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 fully supports es6-module",
    "maintained node versions"
  ]

Or in .browserslistrc config:

# Browsers that we support

defaults and fully 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



Sponsored by Evil Martians  Supported by Cube

Docs

Read full docs here.