Adding minify-css to default sass task
This commit is contained in:
parent
c540c34bbd
commit
bc1b21300f
|
@ -88,7 +88,7 @@ gulp.task('watch-scss', ['browser-sync'], function () {
|
||||||
// Run:
|
// Run:
|
||||||
// gulp sass
|
// gulp sass
|
||||||
// Compiles SCSS files in CSS
|
// Compiles SCSS files in CSS
|
||||||
gulp.task('sass', function () {
|
gulp.task('sass', ['minify-css'], function () {
|
||||||
var stream = gulp.src('./sass/*.scss')
|
var stream = gulp.src('./sass/*.scss')
|
||||||
.pipe(plumber())
|
.pipe(plumber())
|
||||||
.pipe(sass())
|
.pipe(sass())
|
||||||
|
|
Reference in New Issue