gulp-recipe-sass
Recipe for sass files compilation and css transforms application.
Compile all sass files into temp folder.
deps: 'sass'
Watch for changes on all sass files and compile them. Source file change trigger recompilation of only that changed file. Partial file change triggers full project recompilation.
default:
{
style: 'expanded',
errLogToConsole: true,
includePaths: [config.paths.app]
}
Configure sass task
mandatory
Source files for sass compiler. Accepts *.sass and *.scss.
example config:
sources.sass = ['app/components/**/*.scss', 'app/*.scss'];
default: 'app/'
Default sass include path.
default: 'sass'
sass task name.
default: 'watch:sass'
watch:sass task name.
type: sequence
Process css files, the sass compiler output.
Provide compiled sass files into build as assets.