A look at gruntjs/grunt-contrib-sass: 842 stars on GitHub.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-contrib-sass --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-contrib-sass');
Sass task
Run this task with the grunt sass command.
Sass is a preprocessor that adds nested rules, variables, mixins and functions, selector inheritance, and more to CSS. Sass files compile into well-formatted, standard CSS to use in your site or application.
This task requires you to have Ruby and Sass installed. If you're on OS X or Linux you probably already have Ruby installed; test with ruby -v in your terminal. When you've confirmed you have Ruby installed, run gem install sass to install Sass.
Note: Files that begin with "_" are ignored even if they match the globbing pattern. This is done to match the expected Sass partial behaviour.
Options
sourcemap
Type: String
Default: auto
Values:
auto - relative paths where possible, file URIs elsewhere
file - always absolute file URIs
inline - include the source text in the sourcemap
none- no sourcemaps
Requires Sass 3.4.0, which can be installed with gem install sass
trace
Type: Boolean
Default: false
Show a full traceback on error.
unixNewlines
Type: Boolean
Default: false on Windows, otherwise true
Force Unix newlines in written files.
check
Type: Boolean
Default: false
Just check the Sass syntax, does not evaluate and write the output.
style
Type: String
Default: nested
Output style. Can be nested, compact, compressed, expanded.
precision
Type: Number
Default: 5
How many digits of precision to use when outputting decimal numbers.
quiet
Type: Boolean
Default: false
Silence warnings and status messages during compilation.
compass
Type: Boolean
Default: false
Make Compass imports available and load project configuration (config.rb located close to the Gruntfile.js).
debugInfo
Type: Boolean
Default: false
Emit extra information in the generated CSS that can be used by the FireSass Firebug plugin.
lineNumbers
Type: Boolean
Default: false
Emit comments in the generated CSS indicating the corresponding source line.
loadPath
Type: String|Array
Add a (or multiple) Sass import path.
require
Type: String|Array
Require a (or multiple) Ruby library before running Sass.
Instead of naming all files you want to compile, you can use the expand property allowing you to specify a directory. More information available in the grunt docs - Building the files object dynamically.
2014-08-09 v0.7.4 Fix bundleExec option. Fix os.cpus() issue. Log sass command when --verbose flag is set.
2014-03-06 v0.7.3 Only create empty dest files when they don't already exist.
2014-02-02 v0.7.2 Fix error reporting when Sass is not available.
2014-01-28 v0.7.1 Fix regression of Bundler support.
2014-01-26 v0.7.0 Improve Windows support.
2013-12-10 v0.6.0 Ignore files where filename have leading underscore.
2013-08-21 v0.5.0 Add banner option.
2013-07-06 v0.4.1 Use file.orig.src if file.src does not exist and return early to avoid passing non-existent files to sass binary.
2013-06-30 v0.4.0 Rewrite task to be able to support Source Maps. Compile Sass files in parallel for better performance.
2013-03-26 v0.3.0 Add support for bundle exec. Make sure .css files are compiled with SCSS.
2013-02-15 v0.2.2 First official release for Grunt 0.4.0.
2013-01-25 v0.2.2rc7 Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.
2013-01-09 v0.2.2rc5 Updating to work with grunt v0.4.0rc5. Switching to this.files API. Add separator option.
2012-11-05 v0.2.0 Grunt 0.4 compatibility. Improve error message when Sass binary couldn't be found
2012-10-12 v0.1.3 Rename grunt-contrib-lib dep to grunt-lib-contrib.
2012-10-08 v0.1.2 Fix regression for darwin.
2012-10-05 v0.1.1 Windows support.
2012-09-24 v0.1.0 Initial release.
Task submitted by Sindre Sorhus
This file was generated on Thu Aug 20 2020 12:31:17.
Does gruntjs/grunt-contrib-sass have a project website?
No homepage URL was recorded for gruntjs/grunt-contrib-sass in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does gruntjs/grunt-contrib-sass have any tags?
TopGit's last sync did not record any GitHub topics for gruntjs/grunt-contrib-sass. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How many stars does gruntjs/grunt-contrib-sass have?
gruntjs/grunt-contrib-sass has 842 GitHub stars — refresh the page for the live number, or check github.com/gruntjs/grunt-contrib-sass. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is gruntjs/grunt-contrib-sass still maintained?
TopGit's metadata for gruntjs/grunt-contrib-sass does not include a recent push date. Check the commit history on the GitHub repository page for the most authoritative activity timeline.
What language is gruntjs/grunt-contrib-sass written in?
TopGit's last sync did not record a primary language for gruntjs/grunt-contrib-sass. Open the repository on GitHub to see the full breakdown by file extension.
Where do I read more about gruntjs/grunt-contrib-sass?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/gruntjs/grunt-contrib-sass is the definitive source.
Read full README in the tab above.
Want a second opinion on grunt-contrib-sass?
Ask an AI that can read this page — one click and you get its take on grunt-contrib-sass.