mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
67 stars 23 forks source link

Compile 'out' target not respected #34

Closed trajekolus closed 6 years ago

trajekolus commented 6 years ago

I have a folder structure like this, (starting from my project's workspaceRoot): work > less wwwroot > assets > css

In my settings.json, I have: "out": "${workspaceRoot}\\wwwroot\\assets\\css\\"

I also tried: "out": "${workspaceRoot}/wwwroot/assets/css/"

However, when I save, the compiled files are created in the less folder instead of the out target. My platform is Windows. How can I get Easy-less to compile to the specified folder?

chriswarr commented 6 years ago

I have the same problem.

chriswarr commented 6 years ago

I fixed the problem for me. I also had a // out directive at the top of my .less files, these override the one in settings.json. So just delete them from your .less files.

trajekolus commented 6 years ago

@chriswarr nailed it