diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-02-09 13:23:29 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-02-09 13:23:29 +0900 |
| commit | 1162f8bcff4d749f402e2edf60cb484255becffa (patch) | |
| tree | dcb438878b34783d5ffee2fe34b01e0954f0858d /gulpfile.js | |
| parent | Update CHANGELOG.md (diff) | |
| download | misskey-1162f8bcff4d749f402e2edf60cb484255becffa.tar.gz misskey-1162f8bcff4d749f402e2edf60cb484255becffa.tar.bz2 misskey-1162f8bcff4d749f402e2edf60cb484255becffa.zip | |
feat(client): update fontawesome v6 and self-hosting
Resolve #7475
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 3bc0b23bee..b7aa4e328e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,6 +19,10 @@ gulp.task('copy:client:fonts', () => gulp.src('./packages/client/node_modules/three/examples/fonts/**/*').pipe(gulp.dest('./built/_client_dist_/fonts/')) ); +gulp.task('copy:client:fontawesome', () => + gulp.src('./packages/client/node_modules/@fortawesome/fontawesome-free/**/*').pipe(gulp.dest('./built/_client_dist_/fontawesome/')) +); + gulp.task('copy:client:locales', cb => { fs.mkdirSync('./built/_client_dist_/locales', { recursive: true }); @@ -50,7 +54,7 @@ gulp.task('build:backend:style', () => { }); gulp.task('build', gulp.parallel( - 'copy:client:locales', 'copy:backend:views', 'build:backend:script', 'build:backend:style', 'copy:client:fonts' + 'copy:client:locales', 'copy:backend:views', 'build:backend:script', 'build:backend:style', 'copy:client:fonts', 'copy:client:fontawesome' )); gulp.task('default', gulp.task('build')); |