1.2.0 • Published 5 years ago

koa2-sass v1.2.0

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

Koa2 middleware of sass.

Install

$ npm install --save koa2-sass

Usage

const Koa = require('koa')
const app = new Koa()
const sass = require('koa2-sass')
app.use(sass({
  path: /* sass file path */
  // outPath: null
  // debug: false
}, {
  /* Config Options */
}))

Examples

$ git clone https://github.com/cjg125/koa2-sass.git demo
$ cd demo
$ npm install
$ node --harmony example/
# http://127.0.0.1:3000/

Config Options

node-sass