项目
在 GitHub 查看
sindresorhus/grunt-sass
关于
将 Sass 编译为 CSS
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
探索相关项目
加载中…