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
657 stars 168 forks source link

How to compile it root and minificated? #582

Open koupmi opened 2 years ago

koupmi commented 2 years ago

Hello, i have this code in settings:

"liveSassCompile.settings.formats": [{ "format": "compressed", "extensionName": ".css", "savePath": "./css" }]

Problem is it not generate style.css to root directoy, but to /scss directory. I dont have any setup it should generate style to scss directory. Another problem is its not minificated when i have it setup as compressed. In settings there is error End of file expected.

glenn2223 commented 2 years ago

Sounds like you haven't set up the setting.json file correctly. Please make sure that the settings.json file is inside a folder called .vscode (notice the dot prefix)


Sidebar, see #486