wojciechsura / easysass

Easy Sass extension for Visual Studio Code.
MIT License
79 stars 10 forks source link

targetDir not workign #14

Open wkaskie opened 7 years ago

wkaskie commented 7 years ago

Hello,

Adding easysass.targetDir to my VS Code UserSettings breaks the plugin. By that I mean, there are no errors, but css files are no longer generated.

I assumed I could use relative directories like this "../www/css". I also tried the variant "../www/css/". When that didn't work, I tried the full path, which didn't work either.

I'm using VS Code 1.16 on Mac OS X 10.12.5

wingmeng commented 6 years ago

Please see the note about easysass.targetDir , it's very clear: "Target directory for generated files. If relative, will be based on currently opened folder in VS Code." So, if www is your root directory, please try www/css/ or www/css.

JaviLopezM commented 6 years ago

"easysass.targetDir": "../css/" this not works because the because the reference is not the scss path. the reference is base-project. I think every one thinks that is an big error. someone can update this?

qpwr commented 5 years ago

This seems to be wrong, @wingmeng. As @JaviLopezM said, one would expect that targetDir is relative to the scss file, not to the folder opened in VSCode.