Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

duncansmart/less.js-windows

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LESS.js for Windows

A standalone version of the LESS command-line compiler that will run on Windows with no other dependencies.

Consists of a standalone version of Node.js and the required less.js files/dependencies.

Install

Download and extract the release ZIP and invoke lessc.cmd as detailed below.

Usage

Basic usage:

lessc  path\source.less  path\output.css

Compress CSS:

lessc  --clean-css  path\source.less  path\output.css

For full usage:

lessc -h

History

Previously the project used the Windows Script Host cscript.exe as its runtime. Over time this was proving to be diffcult to support as it was essentially using the browser-based version of less.js and stubbing out objects like window and document to mimic the browser environment. This version is still available in the windows-script-host branch.