Readded woff2 to gulp's font filter.

Chrome and Firefox loads woff2 of fontawesome.
This commit is contained in:
Emanuel Schütze 2016-12-14 12:32:02 +01:00
parent 7cbc0d4bfe
commit e38203d751

View File

@ -97,7 +97,7 @@ gulp.task('css-libs', function () {
// Catches all font files from all bower components.
gulp.task('fonts-libs', function() {
return gulp.src(mainBowerFiles({
filter: /\.woff$/
filter: /\.(woff)|(woff2)$/
}))
.pipe(gulp.dest(path.join(output_directory, 'fonts')));
});