Skip to content
Compresses the css output from Less using csswring.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

less-plugin-csswring

Compresses the css output from Less using csswring.

lessc usage

npm install -g less-plugin-csswring

and then on the command line,

lessc file.less --csswring="--sourcemap  --preserve-hacks"

See csswring for the available command options.

Programmatic usage

var LessPluginCSSwring = require('less-plugin-csswring'),
    csswringPlugin = new LessPluginCSSwring({sourcemap: true});
less.render(lessString, { plugins: [csswringPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.

You can’t perform that action at this time.