#gulp tasks for #css
▻https://hackernoon.com/starter-project-9961ecf28a41?source=rss----3a8144eabfe3---4
This article is part of a series about Starter Project, and this time I will explain all about Gulp tasks for CSS.SettingsThe idea of Starter Project is to have a single config file for all Gulp tasks. If you open config.json file, you could see a section for CSS.The first option is run. If set to true, CSS Gulp tasks will be executed. There are three other mandatory options for CSS:src - a path to a folder with Sass files,dest - a path to a folder where compiled CSS files will be saved, andclean - a path to a folder which will be cleaned before Gulp execution (almost always the same as dest option).All paths are prepended with global root path.Other options are for gulp-cssimport, gulp-autoprefixer, gulp-rename, and gulp-sourcemaps.SassStarter Project uses Sass as a preprocessor for CSS. As (...)