Sass plugin for Duo
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
Makefile
index.js
license
package.json
readme.md

readme.md

duo-sass Build Status

Sass plugin for Duo

Install

$ npm install duo-sass

Usage

From the CLI:

$ duo --use duo-sass input.scss output.css

Using the API:

var Duo = require('duo');
var sass = require('duo-sass');

var duo = Duo(__dirname)
  .entry('index.scss')
  .use(sass());

duo.run(function (err, file) {
  if (err) {
    throw err;
  }

  console.log(file);
  //=> body div a { color: red }
});

Options

See the node-sass options.

License

MIT © duojs