koa2-sass

1.2.0 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i koa2-sass

    Weekly Downloads

    1

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    60.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • cjg