grunt-sass
Compile Sass to CSS

grunt-sass downloads grunt-sass version grunt-sass license

grunt-sassSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on grunt-sass's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of grunt-sass](https://npm-compare.com/img/npm-trend/THREE_YEARS/grunt-sass.png)](https://npm-compare.com/grunt-sass#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on grunt-sass's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of grunt-sass](https://npm-compare.com/img/github-trend/grunt-sass.png)](https://npm-compare.com/grunt-sass)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
grunt-sass131,6351,0174.18 kB59 months agoMIT
README for grunt-sass

grunt-sass

Compile Sass to CSS using Dart Sass.

Before filing an issue with this repository, please consider:

  • Asking support questions on Stack Overflow.

  • Reporting issues with the output on the Dart Sass issue tracker.

  • Reporting installation issues on the Dart Sass issue tracker.

Install

npm install --save-dev grunt-sass sass

Usage

const sass = require('sass');

require('load-grunt-tasks')(grunt);

grunt.initConfig({
	sass: {
		options: {
			implementation: sass,
			sourceMap: true
		},
		dist: {
			files: {
				'main.css': 'main.scss'
			}
		}
	}
});

grunt.registerTask('default', ['sass']);

Files starting with _ are ignored to match the expected Sass partial behaviour.

Options

See the Sass options.