🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

grunt-sass

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sass

Compile Sass to CSS

latest
Source
npmnpm
Version
4.1.0
Version published
Weekly downloads
184K
-4.23%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

gruntplugin

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts