summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-23 03:44:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-23 03:44:32 +0900
commitd2f576accdec0877a08408cadd9020bda20501de (patch)
tree6e5c084f24004b9d391a647ecb4078caa8d45779 /gulpfile.ts
parentコントロールパネルから招待制のオンオフを切り替えら... (diff)
downloadsharkey-d2f576accdec0877a08408cadd9020bda20501de.tar.gz
sharkey-d2f576accdec0877a08408cadd9020bda20501de.tar.bz2
sharkey-d2f576accdec0877a08408cadd9020bda20501de.zip
互換性の修正
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts11
1 files changed, 10 insertions, 1 deletions
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',