Answer the question
In order to leave comments, you need to log in
Is it possible to make the css file auto-delete when the less file is created?
Hi all. The whole point of the question was in the title, but I will repeat with an example. When creating, say, the main.less file, the main.css file is also created, which in turn is not needed. And every time you create less files, you have to delete these unnecessary css files and this is not very convenient. Is there any way to automatically delete such "junk" files?
Answer the question
In order to leave comments, you need to log in
The answer was downright stupid. Although I set all the settings correctly, I connected everything as it should, but nothing worked. I just restarted the editor and everything worked as expected. Thanks everyone.
Less needs to be compiled to css and then only connected to html.
If you mean imported files, then name the file _main.less, then the preprocessor will understand that this file is imported and there is no need to create css
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question