New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better feedback on valid options #39
Comments
In this case it appears to be the |
I think the error should be handled by browserslist. right now browserslist isn't throwing a stable error for missing features. |
@ritz078 They seem to think the error message is clear: browserslist/browserslist#684 (comment) |
Looks like there has been a new PR relating to this. So, maybe now you can use those errors? |
When trying out the 'supports' feature, it seems that it if it fails to recognise a name, it gives no indication.
Expected behaviour would be an invalid configuration error, or atleast some kind of feedback that confirms what it is actually searching.
For example, I wanted to search for this intersection of features:
supports custom-elementsv1 and supports es6-module-dynamic-import and supports es6-class and supports replace-all and supports shadowdomv1
But, when pasting that in, nothing changes. If I remove half the string, then the coverage goes down, which is obviously impossible. It seems that one of the values is not recognised, but it's rather difficult to figure out which one.
The text was updated successfully, but these errors were encountered: