SASS plugin for gulp.
npm install gulp-sass
Something like this:
var gulp = ;var sass =gulp;
Options passed as a hash into
sass() will be passed along to
gulp-sass specific options
If you pass
errLogToConsole: true into the options hash, sass errors will be logged to the console instead of generating a
gutil.PluginError object. Use this option with
gulp.watch to keep gulp from stopping every time you mess up your sass.
Imports and Partials
If you want to use imports or partials, you'll need to pass the
includePaths option along to node-sass. So if you have files like this:
Your code should look something like this: