npm-less
Fix LESS to import a la node require algorithm
Example
var http = var path = // Simple http routervar Router = // Simple static file servervar ecstatic = var ServeLess = var router = // ServeLess(rootFolder) returns a http handler// to server less files. The suggestion is to// serve /less/foo as /styles/foo/index.js or// /less/bar as /styles/bar.jsrouter// static server to serve html page for examplerouter var server = http server
Installation
npm install npm-less
Contributors
- Raynos