-
Notifications
You must be signed in to change notification settings - Fork 94
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
Check loaded postcss version #361
Comments
Would this then disable |
Yeap. The last major
Hm. We can do it in the beggining of CLI after |
That would be right before the Then the error experience would be something like: "Cannot find module -> Please install PostCSS 8 -> Cannot write in watch mode ...". Which is a nice DX IMHO, it tells a nice story. |
Yeap, I like this plan |
Do you want to send PR? (Sorry, I am preparing PostCSS 8.2 today) |
Seems like an easy enough PR, question is, how would one test unsupported |
I am personally OK for |
Submitted a PR, have some issues testing the thrown error though. 🤔 |
Yeah, you'd hope npm |
There are popular UX issue:
postcss-cli
, but forgot to installpostcss
postcss-cli
takes oldpostcss 6
orpostcss 7
from the deep dependenciestrue is not a PostCSS plugin
without a good explanation@RyanZim we can solve this problem by checking PostCSS version in
postcss-cli
:The text was updated successfully, but these errors were encountered: