From a6d17873679d6cb9e255f55d84ac25a96447f7b3 Mon Sep 17 00:00:00 2001 From: Naoki Rinmous Date: Tue, 16 Jan 2018 03:36:06 +0800 Subject: [PATCH] fix #3: missing font files in assets --- gulpfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 5d487a0..1ad18d6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,12 @@ const gulp = require('gulp') const rename = require('gulp-rename') const sass = require('gulp-sass') -gulp.task('default', ['stylesheet']) +gulp.task('default', ['fonts', 'stylesheet']) + +gulp.task('fonts', function () { + return gulp.src('./node_modules/font-awesome/fonts/*') + .pipe(gulp.dest('./assets/fonts/')) +}) gulp.task('stylesheet', function () { return gulp.src('./assets/stylesheets/index.scss')