Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

kasperlewau/koa-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

koa-sass

Koa wrapper for node-sass

Installation

$ npm install koa-sass

Options

See the node-sass-middleware document.

Example

var sass = require('koa-sass');
var serve = require('koa-static');
var koa = require('koa');
var app = koa();

app.use(sass({
  src:  __dirname + '/app/styles/',
  dest: __dirname + '/public/'
}));

app.use(serve('./public'));

app.listen(9000);

License

MIT