caoge c760052ff9 机车状态修改 | 8 ماه پیش | |
---|---|---|
.. | ||
LICENSE | 8 ماه پیش | |
README.md | 8 ماه پیش | |
browser.js | 8 ماه پیش | |
cli.js | 8 ماه پیش | |
error.d.ts | 8 ماه پیش | |
error.js | 8 ماه پیش | |
index.d.ts | 8 ماه پیش | |
index.js | 8 ماه پیش | |
node.js | 8 ماه پیش | |
package.json | 8 ماه پیش | |
parse.js | 8 ماه پیش |
<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
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
alt="Sponsored by Evil Martians" width="236" height="54">
<img src="https://user-images.githubusercontent.com/986756/154330861-d79ab8ec-aacb-4af8-9e17-1b28f1eccb01.svg"
alt="Supported by Cube" width="227" height="46">
Read full docs here.