require less to run before minify-css in gulpfile
This commit is contained in:
parent
2b6ad4fae0
commit
cc15620a40
@ -32,7 +32,7 @@ gulp.task('less', function() {
|
||||
});
|
||||
|
||||
// Minify CSS
|
||||
gulp.task('minify-css', function() {
|
||||
gulp.task('minify-css', ['less'], function() {
|
||||
return gulp.src('css/agency.css')
|
||||
.pipe(cleanCSS({ compatibility: 'ie8' }))
|
||||
.pipe(rename({ suffix: '.min' }))
|
||||
|
Loading…
Reference in New Issue
Block a user