Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 437 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 437 Bytes

less-feature-connect

Usage

var connect = require('connect'), dispatch = require('dispatch'), less = require('less-features-connect'), config = require('./config.json');

connect() .use(dispatch({ '.\.css(\?.)?': less(config.less) })) .listen(process.env.PORT);

config.json file

{ "less": { "libs": "styles/lib", "caching": false, "compress": true } }