Minify images when copied
This commit is contained in:
parent
3ebe691f4c
commit
0a32f3848a
|
@ -8,4 +8,6 @@ gulp.task 'meetup-thumbnails', ->
|
|||
.pipe gulp.dest gulp.config.outputDir + '/images/meetups/thumbnails'
|
||||
|
||||
gulp.task 'copy-images', ->
|
||||
gulp.copy gulp.config.assetsDir + '/images/**/*', gulp.config.outputDir + '/images'
|
||||
gulp.src gulp.config.assetsDir + '/images/**/*'
|
||||
.pipe gulp.plugins.imagemin()
|
||||
.pipe gulp.dest gulp.config.outputDir + '/images'
|
||||
|
|
Loading…
Reference in a new issue