tachyons-css / tachyons-build-css

Transpile Tachyons postcss to vanilla css

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BrowserslistError: Unknown browser query `dead`

EdwardDiehl opened this issue · comments

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.

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 😄.

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