The file object passed by gulp is now a wrapped node file object. Clone seems to be tripping over the path setting resulting in .scss files rather than .css files. The content of the files is, as expected, css. This fix removes the file cloning and instead just emits the incoming file with modified attributes. |
||
---|---|---|
test | ||
.gitignore | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
gulp-sass
SASS plugin for gulp.
#Install
npm install gulp-sass
#Usage
Something like this:
var gulp = require('gulp');
var sass = require('gulp-sass')
gulp.task('sass', function () {
gulp.src('./scss/*.scss')
.pipe(sass())
.pipe(gulp.dest('./css'));
});
Options passed as a hash into sass()
will be passed along to node-sass