Skip to content

Commit

Permalink
Use faster compression in imagemin, Revert: Run LESS compliation afte…
Browse files Browse the repository at this point in the history
…r other tasks
  • Loading branch information
jsalonen committed Aug 6, 2014
1 parent c42ceea commit bee16eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/ytp-assets-common/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gulp.task('less', function () {

gulp.task('images', function() {
return gulp.src(paths.src.images)
.pipe(imagemin({optimizationLevel: 5}))
.pipe(imagemin({optimizationLevel: 0}))
.pipe(gulp.dest(paths.dist+'/images'));
});

Expand Down Expand Up @@ -97,8 +97,7 @@ gulp.task('config', function(){

gulp.task('default', function(callback) {
runSequence('clean',
['bootstrap', 'vendor','config', 'templates', 'static_pages', 'images', 'fonts'],
'less',
['bootstrap', 'vendor', 'config', 'templates', 'static_pages', 'images', 'less', 'fonts'],
callback);
});

Expand Down

0 comments on commit bee16eb

Please sign in to comment.