diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-12-08 02:44:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-12-08 02:44:50 +0900 |
| commit | a7aa24e7a3127f9dee43b178aeac2c4c6b827e99 (patch) | |
| tree | 81e98d5b33563e881c14fcadf016ebf1d40e8e55 /gulpfile.ts | |
| parent | Better English (diff) | |
| download | sharkey-a7aa24e7a3127f9dee43b178aeac2c4c6b827e99.tar.gz sharkey-a7aa24e7a3127f9dee43b178aeac2c4c6b827e99.tar.bz2 sharkey-a7aa24e7a3127f9dee43b178aeac2c4c6b827e99.zip | |
wip
Diffstat (limited to 'gulpfile.ts')
| -rw-r--r-- | gulpfile.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gulpfile.ts b/gulpfile.ts index 93002cbf37..95aeb6e06b 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -20,6 +20,12 @@ import * as mocha from 'gulp-mocha'; import * as replace from 'gulp-replace'; import * as htmlmin from 'gulp-htmlmin'; const uglifyes = require('uglify-es'); +const fontawesome = require('@fortawesome/fontawesome'); +const solid = require('@fortawesome/fontawesome-free-solid'); + +// Adds all the icons from the Solid style into our library for easy lookup +fontawesome.library.add(solid); + import version from './src/version'; const uglify = uglifyComposer(uglifyes, console); @@ -169,7 +175,8 @@ gulp.task('build:client:pug', [ gulp.src('./src/web/app/base.pug') .pipe(pug({ locals: { - themeColor: constants.themeColor + themeColor: constants.themeColor, + facss: fontawesome.dom.css() } })) .pipe(htmlmin({ |