BrowserslistError: Unknown browser query `dead`
EdwardDiehl opened this issue · comments
EdwardDiehl commented
I am trying to use tachyons
with simple react
based application.
When I run a command in my scripts like this tachyons src/css/index.css > src/index.css --minify
I see this error
/home/edd/work/testrepo/node_modules/tachyons-build-css/node_modules/caniuse-api/node_modules/browserslist/index.js:37
throw new BrowserslistError(name);
^
BrowserslistError: Unknown browser query `dead`
As I understood the issue is connected with cssnano
library.
Daniel Miller commented
I ran into this too while using tachyons-cli. I've gotten around it in a project by avoiding unsupported browserslist queries in my package.json or browserslistrc file for now, but would love to avoid the workaround and support newer queries
James Pyne commented
Also ran into this using the Tachyons/create-react-app tutorial given here:
https://github.com/tachyons-css/tachyons-and-react/tree/master/getting-started