1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

build fix

This commit is contained in:
Matthias Kretschmann 2015-06-07 03:43:24 +02:00
parent eb632ce0e3
commit 38bfbc42e6

View File

@ -165,12 +165,13 @@ gulp.task('media', function() {
gulp.task('imagemin', function () {
return gulp.src([
dist + '/**/*.{png,jpg,jpeg,gif,svg}',
'!'dist + '/media/**/*'
'!' + dist + '/media/**/*'
])
.pipe($.cache($.imagemin({
optimizationLevel: 3, // png
optimizationLevel: 5, // png
progressive: true, // jpg
interlaced: true, // gif
multipass: true, // svg
svgoPlugins: [{removeViewBox: false}]
})))
.pipe(gulp.dest(dist));