Skip to main content
Participant
March 22, 2018
Answered

Brackets LESS AutoCompile settings

  • March 22, 2018
  • 4 replies
  • 1659 views

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 topic has been closed for replies.
    Correct answer Nancy OShea

    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

    4 replies

    arzu12
    Participant
    May 2, 2020

    what should I add for autoprefixer?

    Nancy OShea
    Community Expert
    Community Expert
    May 2, 2020

    AutoCompile does not do AutoPrefixing.  You need a separate Brackets extension for that.

     

     

    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    May 16, 2018

    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

    Nancy O'Shea— Product User & Community Expert
    Participant
    May 16, 2018

    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

    B i r n o u
    Legend
    March 22, 2018

    well, I never use less, but when indicating the source file have you try placing a ! starting the file path ?