English 中文(简体)
Less - Third Party Compilers
  • 时间:2024-12-22

LESS - Third Party Compilers


Previous Page Next Page  

Node.js Compilers

Following are the Node.js compilers used for LESS.

grunt-contrib-less

Grunt is a Node task runner. It will compile your stylesheets every time you commit changes to your LESS files.

assemble-less

assemble-less is a powerful grunt plugin for compipng LESS file to CSS. The less task pulls JSON and Lo - dash(underscore) template for defining the LESS bundles, UI components, compressed stylesheets or themes.

gulp-less

It is LESS plugin for Gulp. gulp-minify-css is used to minify your CSS. gulp-sourcemaps is used to generate the sourcemaps pbrary.

RECESS

It is an open-source tool which is built on LESS and helps in optimizing your CSS code. It keeps the CSS code error free, clean and manageable.

autoless

It is a .less file watcher. It contains dependency tracking and Cross-platform notification.

Connect Middleware for Less.js

It is used to allow the processing for connect JS framework of LESS files. It compiles source file on request and cache the compiled data for next request.

Other Technologies

Following are a few othertechnologies that help you compile a LESS code.

Wro4j Runner CLI

You can download the wro4j-runner.jar and can compile your LESS code in CSS by using the following command −

java -jar wro4j-runner-1.5.0-jar-with-dependencies.jar --preProcessors lessCss

You can visit the following pnk to know more about Wro4j Runner CLI

CSS::LESSp

This module is used to parse and compile the LESS file into CSS file. Following is the command used to compile −

lessp.pl styles.less > styles.css

You can visit the following pnk to know more about CSS::LESSp

Windows Script Host

Following is the command pne compiler that will run on windows.

cscript //nologo lessc.wsf input.less [output.css] [-compress]

OR

lessc input.less [output.css] [-compress]

You can visit the following pnk to know more about Less.js for windows

dotless

The following is a command pne compiler to run dotless for windows.

dotless.Compiler.exe [-switches] <inputfile> [outputfile]

You can visit the following pnk to know more about dotless

Advertisements