⚛ Learn React in just a couple of afternoons with this awesome React course by Wes Bos
$ npm install --save-dev gulp-ruby-sass
Requires Sass >=3.4.
Use gulp-ruby-sass instead of
gulp.src to compile Sass files.
const gulp = ;const sass = ;gulp;
File or glob pattern (
source/**/*.scss) to compile. Ignores files prefixed with an underscore. Directory sources are not supported.
Object containing plugin and Sass options.
Run Sass with bundle exec.
Initialize and pass Sass sourcemaps to gulp-sourcemaps. Note this option replaces Sass's
const gulp = ;const sass = ;const sourcemaps = ;gulp;
Default: System temp directory
This plugin compiles Sass files to a temporary directory before pushing them through the stream. Use
tempDir to choose an alternate directory if you aren't able to use the default OS temporary directory.
Emit a gulp error when Sass compilation fails.
Log the spawned Sass or Bundler command. Useful for debugging.
Any additional options are passed directly to the Sass executable. The options are camelCase versions of Sass's options parsed by
sass -h for a complete list of Sass options.
Convenience function for pretty error logging.
In rare cases you may need to clear gulp-ruby-sass's cache. This sync function deletes all files used for Sass caching. If you've set a custom temporary directory in your task you must pass it to
This plugin wraps the Sass gem for the gulp build system. It does not alter Sass's output in any way. Any issues with Sass output should be reported to the Sass issue tracker.
Before submitting an issue please read the contributing guidelines.
MIT © Sindre Sorhus