Skip to content

Middleware and Browserify transform for less files

License

Notifications You must be signed in to change notification settings

alexthornton1/lessify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lessify

Middleware and Browserify transform for less files.

Build Status
NPM

usage

some.less

.nav { width: (1 + 1); }

entry.js

require('some.less');

then

> browserify -t lessify entry.js > app.js

we haz css in our bundle!

options

Less options can be specified either on the command line:

> browserify -t [ lessify --relativeUrls --rootpath http://www.example.com/ ] entry.js

Or using the API:

var browserify = require('browserify');
var lessify = require('lessify');

var b = browserify();
b.transform({relativeUrls: true, rootpath: 'http://www.example.com/'}, lessify);
...

install

With npm do:

npm install lessify

contributors

https://github.com/dstokes/lessify/graphs/contributors

About

Middleware and Browserify transform for less files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%