Skip to content

amiramw/grunt-contrib-sassjs

Repository files navigation

grunt-contrib-sassjs

Build Status npm version

Compile Sass to CSS using sass.js

This task uses sass.js, which is a Sass compiler written in JavaScript. It's not as fast as the C implementation node-sass but it is completely stand alone and doesn't require downloading binaries or installing anything.

Install

$ npm install --save-dev grunt-contrib-sassjs

Usage

grunt.initConfig({
	sass: {
		dist: {
			sourceMap: true,
			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.js options.

License

MIT

About

Compile Sass to CSS using https://github.com/medialize/sass.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published