mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
production環境の時だけimageminするように
This commit is contained in:
parent
96e5054c83
commit
7073e6f1ae
@ -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', '.');
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user