gulp.task('images', function() {
return gulp.src('frontend/assets/images/**/*.{jpg,jpeg,png,gif}')
.pipe(changed('public/images'))
.pipe(cache(imagemin({
interlaced: true,
progressive: true,
svgoPlugins: [{removeViewBox: false}],
une: [pngquant()]
})))
.pipe(gulp.dest('public/images'));
});