sass-middleware
v0.0.3
Published
SASS middleware (adapted from the less-middleware)
Downloads
275
Readme
sass-middleware
Like less-middleware but sass-middleware.
Requirements:
Installation:
# insall Sass if not installed
gem install sass
# install sass-middleware
npm install sass-middleware
Usage:
// app.use(require('sass-middleware')(options))
app.use(require('sass-middleware')({
bin: '/path/to/sass/executable',
src: 'public',
quiet: true
}));
Options:
bin
- Path to sass executable (defaults to"sass"
)src
- Source path (defaults to"public"
)dest
- Destination path (defaults tooptions.src
)quiet
- Suppress output (defaults tofalse
)cache_location
- Path to sass cache location (defaults to sass default cache location)