koa-scss

    0.2.0 • Public • Published

    koa-scss

    Koa middleware for SCSS.

    Installation

    $ npm install koa-scss

    Options

    See the node-sass-middleware document.

    Example

    var scss = require('koa-scss'),
        serve = require('koa-static'),
        koa = require('koa'),
        app = koa();
     
    app.use(scss({
        src: __dirname + '/public/scss/',
        dest: __dirname + '/public/css/'
    }));
     
    app.use(serve('./public'));
     
    app.listen(8000);

    License

    MIT

    Keywords

    Install

    npm i koa-scss

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • adamkdean