From d2f576accdec0877a08408cadd9020bda20501de Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 23 Aug 2018 03:44:32 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BA=92=E6=8F=9B=E6=80=A7=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gulpfile.ts b/gulpfile.ts index 53185f5984..da111b2982 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -59,7 +59,16 @@ gulp.task('build:copy:views', () => gulp.src('./src/server/web/views/**/*').pipe(gulp.dest('./built/server/web/views')) ); -gulp.task('build:copy', ['build:copy:views'], () => +// 互換性のため +gulp.task('build:copy:lang', () => + gulp.src(['./built/client/assets/*.*-*.js']) + .pipe(rename(path => { + path.basename = path.basename.replace(/\-(.*)$/, ''); + })) + .pipe(gulp.dest('./built/client/assets/')) +); + +gulp.task('build:copy', ['build:copy:views', 'build:copy:lang'], () => gulp.src([ './build/Release/crypto_key.node', './src/const.json',