Skip to content

Commit

Permalink
Remove IE 11 from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 18, 2022
1 parent 6f875c6 commit 9eefcd8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ combiner even if `or` is used (this is an API implementation specificity).
| `and` combiner <br> (intersection) | ![intersection of queries](img/intersection.svg) | `> .5% and last 2 versions` |
| `not` combiner <br> (relative complement) | ![Relative complement of queries](img/complement.svg) | These three are equivalent to one another: <br> `> .5% and not last 2 versions` <br> `> .5% or not last 2 versions` <br> `> .5%, not last 2 versions` |

_A quick way to test your query is to do `npx browserslist '> 0.3%, not IE 11'`
_A quick way to test your query is to do `npx browserslist '> 0.3%, not dead'`
in your terminal._

### Full List
Expand Down Expand Up @@ -363,7 +363,7 @@ browsers in `package.json` with `browserslist` key:
"browserslist": [
"last 1 version",
"> 1%",
"IE 11"
"not dead"
]
}
```
Expand All @@ -380,7 +380,7 @@ Each line is combined with the `or` combiner. Comments聽starts聽with聽`#`聽symbo

last 1 version
> 1%
IE 11 # sorry
not dead # no browsers without security updates
```

Browserslist will check config in every directory in `path`.
Expand Down Expand Up @@ -430,7 +430,7 @@ When writing a shared Browserslist package, just export an array.
module.exports = [
'last 1 version',
'> 1%',
'ie 11'
'not dead'
]
```

Expand All @@ -450,7 +450,7 @@ module.exports = {
production: [
'last 1 version',
'> 1%',
'ie 11'
'not dead'
]
}
```
Expand All @@ -469,7 +469,7 @@ In `package.json`:
"browserslist": {
"production": [
"> 1%",
"ie 11"
"not dead"
],
"modern": [
"last 1 chrome version",
Expand All @@ -486,7 +486,7 @@ In `.browserslistrc` config:
```ini
[production]
> 1%
ie 11
not dead

[modern]
last 1 chrome version
Expand Down Expand Up @@ -551,8 +551,8 @@ function process (source, opts) {
}
```

Queries can be a string `"> 1%, IE 11"`
or an array `['> 1%', 'IE 11']`.
Queries can be a string `"> 1%, not dead"`
or an array `['> 1%', 'not dead']`.

If a query is missing, Browserslist will look for a config file.
You can provide a `path` option (that聽can聽be聽a聽file) to聽find聽the聽config聽file
Expand Down Expand Up @@ -580,7 +580,7 @@ Options:
For non-JS environment and debug purpose you can use CLI tool:

```sh
browserslist "> 1%, IE 11"
browserslist "> 1%, not dead"
```

You can get total users coverage for selected browsers by JS API:
Expand Down

0 comments on commit 9eefcd8

Please sign in to comment.