ritwickdey / vscode-live-sass-compiler

Compile Sass or Scss file to CSS at realtime with live browser reload feature.
https://ritwickdey.github.io/vscode-live-sass-compiler/
MIT License
660 stars 168 forks source link

@supports selector() issue #514

Closed travisvalerius closed 3 years ago

travisvalerius commented 3 years ago

The compiler is unable to compile the @supports selector() function (this is valid vanilla CSS).

Compilation Error Error: Invalid CSS after "@supports ": expected @supports condition (e.g. (display: flexbox)), was "selector(:focus-wit"

glenn2223 commented 3 years ago

This extension uses a really old version of sass, from 2018 to be exact. At that time CSS was a lot less developed and had no @supports functionality. I'd recommend upgrading to my version - see below.


This extension is no longer maintained - see #486, this will show you that I have a fork that I'm actively maintaining.

After reading it, please close this issue so my own can stay top of the list. Thanks

travisvalerius commented 3 years ago

Oh! My apologies! I appreciate the follow-up. I uninstalled this version and installed the new version you linked to and it compiled the @supports selector() function with no problems. Thank you!