I am trying to get gulp to compile some sass, however I cannot get it to write something. I see no error, and using sass to compile myself successfully. This is what my config looks like:
var sass = require('gulp-sass'); var baseOutputDir = '../publish/homepage'; var cssOutputDir = baseOutputDir + '/css'; gulp.task('sass', function () { gulp.src(['./css-lib/Bootstrap/3.3.1/assets/stylesheets/_bootstrap.scss']) .pipe(sass()) .on('error', function (err) { console.log(err.message); }) .pipe(gulp.dest(cssOutputDir)); })
Bootstrap is a clone of https://github.com/twbs/bootstrap-sass
source share