VS Web Compiler is adding "less/" to file path

Henry, Michael 1 Reputation point
2022-07-29T14:49:22.243+00:00

I'm using the Web Compiler extension to generate CSS from a group of LESS files.
In my LESS file, the file path to a graphic is: "Images/graphicName.png"

However, when I compile, the resultant CSS file shows the file path as "less/Images/graphicName.png" (adding "less/"), resulting in a broken link.
WC seems to be arbitrarily adding "less/".
Other projects getting compiled the same way do not have this issue.

I've checked the compilerconfig.json.defaults file for this and other projects, but (while I don't really know what I'm looking for), nothing looks out of place. The only thing I see different is that the other projects don't have "math": null; as a value, but removing it from the problematic project's compilerconfig.json.defaults file results in no change.

Community Center Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.