Copy link to clipboard
Copied
Hello,
I use the plugin "LESS AutoCompile" for brackets.
Does anyone know how to exclude certain files or directories from being compiled? I just want to compile the style.less in style.css in my project. However, the plugin automatically compiles all my .less files I open with brackets.
Thanks, Roland
This is from the documentation on GitHub.
GitHub - jdiehl/brackets-less-autocompile: Automatic compilation of LESS files for Brackets
The first line of code is where you express your preferred options. For example:
// out: ../dist/app.css, compress: true, strictMath: true
Copy link to clipboard
Copied
well, I never use less, but when indicating the source file have you try placing a ! starting the file path ?
Copy link to clipboard
Copied
You will need to place a line of code at the top of the .less document you wish to keep from compiling.
The code:
//out:null
Copy link to clipboard
Copied
This is from the documentation on GitHub.
GitHub - jdiehl/brackets-less-autocompile: Automatic compilation of LESS files for Brackets
The first line of code is where you express your preferred options. For example:
// out: ../dist/app.css, compress: true, strictMath: true
Copy link to clipboard
Copied
what should I add for autoprefixer?
Copy link to clipboard
Copied
AutoCompile does not do AutoPrefixing. You need a separate Brackets extension for that.