diff --git a/gulpfile.ts b/gulpfile.ts index 491ce7e4d..a88c57e70 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -242,7 +242,7 @@ gulp.task('copy:client', [ './src/web/resources/**/*', './src/web/app/*/resources/**/*' ]) - .pipe(imagemin()) + .pipe(isProduction ? imagemin() : gutil.noop()) .pipe(rename(path => { path.dirname = path.dirname.replace('resources', '.'); }))