Skip to content

Instantly share code, notes, and snippets.

@gustavoquinalha
Created April 27, 2017 14:02
Show Gist options
  • Save gustavoquinalha/9810fd51656e2e601e809ceaacb8b1fd to your computer and use it in GitHub Desktop.
Save gustavoquinalha/9810fd51656e2e601e809ceaacb8b1fd to your computer and use it in GitHub Desktop.
gulp.task('build-img', function(){
gulp.src('img/**/*')
.pipe(imagemin())
.pipe(gulp.dest('img'));
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment