browsersl.ist
browsersl.ist copied to clipboard
Add `,` and `#` support to multiline config
This config
> 1%,
last 2 versions
leads to Unknown browser query ""
https://browsersl.ist/?q=%3E+2%25%2C%2Clast+2+version
Now we have a temporary solution https://github.com/browserslist/browsersl.ist/pull/435
The idea of the solution by @ai https://github.com/browserslist/browsersl.ist/pull/435#issuecomment-1218990106
- [ ] Copy of algorithm https://github.com/browserslist/browserslist/blob/main/node.js#L285-L294
- [ ] Preserve
\nin URL so the multiline config can be copied by URL - [ ] Support comments
+1 for this, our browserslist config has comments inside, and when we copy-paste it as is comments are treated like queries.
Is it in progress (with a bigger refactoring), or PRs are welcome to fix comments at least?
@AleksandrSl no, it is not in a progress and PR is welcome