require less to run before minify-css in gulpfile

This commit is contained in:
David Miller 2016-08-18 22:18:56 -04:00
parent 2b6ad4fae0
commit cc15620a40

View File

@ -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' }))