All Projects → sindresorhus → Gulp Ruby Sass

sindresorhus / Gulp Ruby Sass

Licence: mit
Compile Sass to CSS with Ruby Sass

Programming Languages

137047 projects - #8 most used programming language
27132 projects - #4 most used programming language

Projects that are alternatives of or similar to Gulp Ruby Sass

Gulp Vulcanize
Concatenate a set of Web Components into one file
Stars: ✭ 101 (-78.78%)
Mutual labels:  gulp-plugin, deprecated
Gulp Ngmin
[DEPRECATED] Pre-minify AngularJS apps with ngmin
Stars: ✭ 89 (-81.3%)
Mutual labels:  gulp-plugin, deprecated
Gulp Compass
Compass plugin for gulp
Stars: ✭ 177 (-62.82%)
Mutual labels:  gulp-plugin, sass
Gulp Ftp
[DEPRECATED] Upload files to an FTP-server
Stars: ✭ 100 (-78.99%)
Mutual labels:  gulp-plugin, deprecated
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (-71.43%)
Mutual labels:  gulp-plugin, sass
Gulp Traceur
Traceur is a to JavaScript-of-today compiler
Stars: ✭ 172 (-63.87%)
Mutual labels:  gulp-plugin, deprecated
Stars: ✭ 42 (-91.18%)
Mutual labels:  gulp-plugin, deprecated
Axe Cli
[Deprecated] A command-line interface for the aXe accessibility testing engine
Stars: ✭ 419 (-11.97%)
Mutual labels:  deprecated
Progress Tracker
A HTML component to illustrate the steps in a multi step process e.g. a multi step form, a timeline or a quiz.
Stars: ✭ 461 (-3.15%)
Mutual labels:  sass
Magento2 Frontools
Set of front-end tools for Magento 2 based on Gulp.js
Stars: ✭ 416 (-12.61%)
Mutual labels:  sass
The iconic font and CSS toolkit. Fontisto gives you scalable vector icons that can instantly be customized: size, color, drop shadow and anything that can be done with the power of CSS.
Stars: ✭ 413 (-13.24%)
Mutual labels:  sass
Code Gov Web
DEPRECATED 🛑- Federal Source Code policy implementation.
Stars: ✭ 423 (-11.13%)
Mutual labels:  deprecated
Neumorphism Ui Bootstrap
Neumorphism inspired UI Kit: web components, sections and pages in neumorphic style built with Bootstrap CSS Framework
Stars: ✭ 463 (-2.73%)
Mutual labels:  sass
[DEPRECATED] This is the legacy version of Piranha CMS for .NET 4.5, MVC 5.2 & WebPages 3.2.
Stars: ✭ 418 (-12.18%)
Mutual labels:  deprecated
CSS classes to move your DOM!
Stars: ✭ 4,531 (+851.89%)
Mutual labels:  sass
Stars: ✭ 416 (-12.61%)
Mutual labels:  sass
Gulp Shell
A handy command line interface for gulp
Stars: ✭ 474 (-0.42%)
Mutual labels:  gulp-plugin
Django Knowledge
Add a help desk or knowledge base to your Django project with only a few lines of boilerplate code.
Stars: ✭ 473 (-0.63%)
Mutual labels:  deprecated
🎵 A simple & beautiful HTML5 music player
Stars: ✭ 437 (-8.19%)
Mutual labels:  sass
⛔️ Laravel Tinx is archived and no longer maintained.
Stars: ✭ 437 (-8.19%)
Mutual labels:  deprecated


This project is deprecated because Ruby Sass is deprecated. Switch to gulp-sass.

gulp-ruby-sass Build Status

Compiles Sass with the Sass gem and pipes the results into a gulp stream.
To compile Sass with libsass, use gulp-sass


$ npm install --save-dev gulp-ruby-sass

Requires Sass >=3.4.


sass(source, [options])

Use gulp-ruby-sass instead of gulp.src to compile Sass files.

const gulp = require('gulp');
const sass = require('gulp-ruby-sass');

gulp.task('sass', () =>
		.on('error', sass.logError)


Type: string string[]

File or glob pattern (source/**/*.scss) to compile. Ignores files prefixed with an underscore. Directory sources are not supported.


Type: Object

Object containing plugin and Sass options.


Type: boolean
Default: false

Run Sass with bundle exec.


Type: boolean
Default: false

Initialize and pass Sass sourcemaps to gulp-sourcemaps. Note this option replaces Sass's sourcemap option.

const gulp = require('gulp');
const sass = require('gulp-ruby-sass');
const sourcemaps = require('gulp-sourcemaps');

gulp.task('sass', () =>
	sass('source/file.scss', {sourcemap: true})
		.on('error', sass.logError)
		// for inline sourcemaps
		// for file sourcemaps
		.pipe(sourcemaps.write('maps', {
			includeContent: false,
			sourceRoot: 'source'

Type: string

Identical to gulp.src's base option.


Type: string
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.


Type: boolean
Default: false

Emit a gulp error when Sass compilation fails.


Type: boolean
Default: false

Log the spawned Sass or Bundler command. Useful for debugging.

Sass options

Any additional options are passed directly to the Sass executable. The options are camelCase versions of Sass's options parsed by dargs.

Run sass -h for a complete list of Sass options.

gulp.task('sass', () =>
	sass('source/file.scss', {
			precision: 6,
			stopOnError: true,
			cacheLocation: './',
			loadPath: [ 'library', '../../shared-components' ]
		.on('error', sass.logError)


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 clearCache.


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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected]