Highlighted

Brackets LESS AutoCompile settings

New Here ,
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

Adobe Community Professional
Correct answer by Nancy_OShea | Adobe Community Professional

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

Views

970

Likes

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

Brackets LESS AutoCompile settings

New Here ,
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

Adobe Community Professional
Correct answer by Nancy_OShea | Adobe Community Professional

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

Views

971

Likes

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
Adobe Community Professional ,
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 ?

Likes

1 Like

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
Reply
Loading...
New Here ,
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

Likes

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
Reply
Loading...
Adobe Community Professional ,
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, ACP
Alt-Web.com

Likes

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
Reply
Loading...
New Here ,
May 02, 2020

Copy link to clipboard

Copied

what should I add for autoprefixer?

Likes

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
Reply
Loading...
Adobe Community Professional ,
May 02, 2020

Copy link to clipboard

Copied

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

 

 

Nancy O'Shea, ACP
Alt-Web.com

Likes

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
Reply
Loading...
Resources
Learn Resources
Add a group