diff --git a/gulpfile.js b/gulpfile.js index df51fdda..1c51e99d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -407,7 +407,7 @@ gulp.task("copy-fonts", function() { gulp.task("copy-images", function() { return gulp.src(paths.app + "/images/**/*") - .pipe(imagemin({progressive: true})) + .pipe(gulpif(isDeploy, imagemin({progressive: true}))) .pipe(gulp.dest(paths.dist + "/images/")); });