Skip to content

Why is browserlist OR instead of AND? #797

Closed Answered by ai
sekoyo asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, they are OR for last 2 years and > 0.25% and AND NOT for not … queries.

They are not AND because in that case this config will produce 0 browsers:

chrome 11
chrome 10

Of course in that the most popular use case with AND it will be chrome 11 AND chrome 10 = [].

You need query last 2 versions and > 0.25% …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sekoyo
Comment options

Answer selected by sekoyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants