Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 935 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 935 Bytes

Attention: I'm looking for a new maintainer

I no longer want to work on this project anymore. I use Bower and a dynamic compiler to help me develop projects that use LESS. I don't see the need for this anymore.

lessc

This Jam package will allow your web app to load LESS files, compile them to CSS, and apply the styles to your page, on the file.

But that's not all, the LESS code will actually be embedded onto your optimized version of your app.

Installation and Usage.

Since it's a jam package, you would install it just like any other.

$ jam install lessc

And you would use it like so.

require('lessc!less/style.less', function () {
    // Just loading a less text file will compile it for you,
    // and apply it to the current page.
});

And what about optmization? Well, just calling jam compile should do the trick.

ps. Special thanks goes to @ryanramage