compass-middleware
compass middleware for expressjs.
- Note that the implement of Compass compile is mostly modified from the source of grunt-contrib-compass but have removed grunt dependence.
install
npm install compass-middleware
usage
var compass = ;var app = ; app
config
This middleware accepts two object as options:
baseOptions
allows you to config source base and dest base
src: '/my/project/src' dest: '/var/tmp/temporary'
compassOptions
is just the same as grunt-contrib-compass options.