From 2a21095299a075c5f244489856fc6f4593d2b3cf Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 20 Jan 2017 10:06:28 +0900 Subject: [PATCH] =?UTF-8?q?production=E7=92=B0=E5=A2=83=E3=81=AE=E6=99=82?= =?UTF-8?q?=E3=81=A0=E3=81=91imagemin=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '.'); }))