diff --git a/bower.json b/bower.json index 0f7eef3..5063b97 100644 --- a/bower.json +++ b/bower.json @@ -78,7 +78,8 @@ "bootstrap": { "main": [ "dist/css/bootstrap.css", - "js/dropdown.js" + "js/dropdown.js", + "./dist/fonts/**.*" ] }, "slimScroll": { diff --git a/gulp/build.js b/gulp/build.js index 79bcf23..efbccfb 100644 --- a/gulp/build.js +++ b/gulp/build.js @@ -72,8 +72,7 @@ gulp.task('html', ['inject', 'partials'], function () { // Only applies for fonts from bower dependencies // Custom fonts are handled by the "other" task gulp.task('fonts', function () { - return gulp.src($.mainBowerFiles()) - .pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}')) + return gulp.src($.mainBowerFiles('**/*.{eot,svg,ttf,woff,woff2}')) .pipe($.flatten()) .pipe(gulp.dest(path.join(conf.paths.dist, '/fonts/'))); });