Answer the question
In order to leave comments, you need to log in
Why gulp error?
Good evening friends.
The gulpfile has this tack:
gulp.task('imagemin', function() {
return gulp.src('app/img/**/*')
.pipe(cache(imagemin({
interlaced: true,
progressive: true,
svgoPlugins: [{removeViewBox: false}],
use: [pngquant()]
})))
.pipe(gulp.dest('dist/img'));
});
Answer the question
In order to leave comments, you need to log in
A problem with
svgoPlugins: [{removeViewBox: false}], arose after updating imagemin-svgo to version 5.2.1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question