function images() {
  return gulp.src('src/assets/images/**/*')
    .pipe($.if(PRODUCTION, $.imagemin({
      progressive: true
    })))
    .pipe(gulp.dest(PATHS.dist + '/images'));
}
// In production, the images are compressed
In production, the images are compressed
In production the images are compressed
function images() {
  return gulp.src('src/assets/images/**/*')
    .pipe($.if(PRODUCTION, $.imagemin({
      progressive: true
    })))
    .pipe(gulp.dest(PATHS.dist + '/images'));
}
function images ( ) { return gulp . src ( 'src/assets/images/**/*' ) . pipe ( $ . if ( PRODUCTION , $ . imagemin ( { progressive : true } ) ) ) . pipe ( gulp . dest ( PATHS . dist + '/images' ) ) ; }
In production, the images are compressed
In production the images are compressed