This commit is contained in:
syuilo 2019-10-21 08:34:09 +09:00
parent 7ff8fb027d
commit 1ca6014284
3 changed files with 23 additions and 1101 deletions

View File

@ -12,7 +12,6 @@ const stylus = require('gulp-stylus');
import * as uglifyComposer from 'gulp-uglify/composer'; import * as uglifyComposer from 'gulp-uglify/composer';
import * as rimraf from 'rimraf'; import * as rimraf from 'rimraf';
import chalk from 'chalk'; import chalk from 'chalk';
const imagemin = require('gulp-imagemin');
import * as rename from 'gulp-rename'; import * as rename from 'gulp-rename';
import * as mocha from 'gulp-mocha'; import * as mocha from 'gulp-mocha';
import * as replace from 'gulp-replace'; import * as replace from 'gulp-replace';
@ -122,7 +121,6 @@ gulp.task('copy:client', () =>
'./src/client/assets/**/*', './src/client/assets/**/*',
'./src/client/app/*/assets/**/*' './src/client/app/*/assets/**/*'
]) ])
.pipe(isProduction ? (imagemin as any)() : gutil.noop())
.pipe(rename(path => { .pipe(rename(path => {
path.dirname = path.dirname!.replace('assets', '.'); path.dirname = path.dirname!.replace('assets', '.');
})) }))

View File

@ -134,7 +134,6 @@
"fluent-ffmpeg": "2.1.2", "fluent-ffmpeg": "2.1.2",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-cssnano": "2.1.3", "gulp-cssnano": "2.1.3",
"gulp-imagemin": "6.1.1",
"gulp-mocha": "7.0.2", "gulp-mocha": "7.0.2",
"gulp-rename": "1.4.0", "gulp-rename": "1.4.0",
"gulp-replace": "1.0.0", "gulp-replace": "1.0.0",

1121
yarn.lock

File diff suppressed because it is too large Load Diff