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