grunt-sass

Compile Sass to CSS

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

grunt-sass類似套件:
npm下載趨勢
3 年
🌟 在 grunt-sass 的 README.md 中顯示即時使用量圖表,只需複製下面的代碼。
## 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
🌟 在 grunt-sass 的 README.md 中顯示 GitHub stars 趨勢圖表,只需複製下面的代碼。
## 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)
統計詳情
套件
下載數
Stars
大小
Issues
發布時間
許可
grunt-sass160,2301,0184.42 kB319 小時前MIT
grunt-sass 的 README

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.