osia-sass
SASS Compiler for Osia
Installation
$ npm install osia-sass
Usage
import osia from 'osia';
import sass from 'osia-sass';
osia.task('build', () =>
osia.open('foo.scss')
.then(sass())
.then(bar())
);
Options
osia-sass uses node-sass so you can pass in options just as you would with node-sass.
Example:
osia.task('sass', () =>
osia.open('foo.scss')
.then(sass({outputStyle: 'compressed'}))
.then(osia.save('./styles'))
);
Credits
Sean Wilson |