"supports" Query does not work
See original GitHub issueAccording to the documentation it seems that this query should work, but it does not. Thoughts?
# npx browserslist --version
browserslist 4.13.0
# npx browserslist 'supports es6-modules'
browserslist: Unknown browser query `es6-modules`. Maybe you are using old Browserslist or made typo in query.
supports es6-module: browsers with support for specific features. es6-module here is the feat parameter at the URL of the Can I Use page. A list of all available features can be found at caniuse-lite/data/features.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Solved: CSS @supports "not" Not Working With "and" or "or"
Get help diagnosing why the CSS @supports not operator might not be working.
Read more >supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports CSS at-rule lets you specify CSS declarations that depend on a browser's support for CSS features. Using this at-rule is commonly ......
Read more >Access error: "Query is corrupt" - Microsoft Support
When attempting to run an Update query, it may not run and displays the error: "Query 'query name' is corrupt". Error indicating query...
Read more >Why my query is not working? - Stack Overflow
mysql_query() doesn't support multiple queries in a single call (which you are trying to inject): SELECT * FROM users WHERE id=1; ...
Read more >How @supports Works | CSS-Tricks
There is “not” logic in @supports blocks, but that doesn't mean it should always be used. Notice the not operator in the first...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ai there is a typo in your command. It should be:
(module is singular)
Try to call
npx browserslist@latest "supports es6-modules"
in your project dir.I am afraid that there is something broken in your
node_modules
. Maybe you need to callnpm update
oryarn upgrade
.