You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, there is no way to use an intersection of queries, i.e. "and", across more than one line in .browserslistrc or in separate indices of a package.json array. The only exception is when using "not" since the "and" is implied.
When trying to construct a configuration using multiple intersections, this makes for a confusing and ugly read. I would really like to see a more intuitive syntax supported across multiple lines, such as:
query[{, |or}|and][\n] query2...
Meaning, keep the same syntax for backwards compatibility except allow the same set of combiners at the end of a line which will apply to the next query. Currently this throws an error as invalid.
The text was updated successfully, but these errors were encountered:
As far as I can tell, there is no way to use an intersection of queries, i.e. "and", across more than one line in
.browserslistrc
or in separate indices of apackage.json
array. The only exception is when using "not" since the "and" is implied.When trying to construct a configuration using multiple intersections, this makes for a confusing and ugly read. I would really like to see a more intuitive syntax supported across multiple lines, such as:
Meaning, keep the same syntax for backwards compatibility except allow the same set of combiners at the end of a line which will apply to the next query. Currently this throws an error as invalid.
The text was updated successfully, but these errors were encountered: