• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Brackets LESS AutoCompile settings

New Here ,
Mar 22, 2018 Mar 22, 2018

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

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 16, 2018 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

Votes

Translate

Translate
Community Expert ,
Mar 22, 2018 Mar 22, 2018

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 ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 16, 2018 May 16, 2018

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 16, 2018 May 16, 2018

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

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 02, 2020 May 02, 2020

Copy link to clipboard

Copied

what should I add for autoprefixer?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 02, 2020 May 02, 2020

Copy link to clipboard

Copied

LATEST

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

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines