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

@use not working #538

Closed terry9737 closed 2 years ago

terry9737 commented 2 years ago

I'm currently using sass version: 1.35.2 compiled with dart2js 2.13.4.

1) I have a _var.scss file with the following code: `$dark: red;

p { color: $dark; } 2)I import it using @use in my main.scss file@use './var'; 3) The css gets compiled the following way:@use './var'; /# sourceMappingURL=main.css.map /`

Can you please help me with what is the issue?

glenn2223 commented 2 years ago

@use is not supported by this version of the extension. You would need to switch to my fork


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