SASS Compiler for Osia
$ npm install osia-sass
import osia from 'osia';
import sass from 'osia-sass';
osia.task('build', () =>
osia.open('foo.scss')
.then(sass())
.then(bar())
);
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'))
);
Sean Wilson |