Readded woff2 to gulp's font filter.
Chrome and Firefox loads woff2 of fontawesome.
This commit is contained in:
parent
7cbc0d4bfe
commit
e38203d751
@ -97,7 +97,7 @@ gulp.task('css-libs', function () {
|
|||||||
// Catches all font files from all bower components.
|
// Catches all font files from all bower components.
|
||||||
gulp.task('fonts-libs', function() {
|
gulp.task('fonts-libs', function() {
|
||||||
return gulp.src(mainBowerFiles({
|
return gulp.src(mainBowerFiles({
|
||||||
filter: /\.woff$/
|
filter: /\.(woff)|(woff2)$/
|
||||||
}))
|
}))
|
||||||
.pipe(gulp.dest(path.join(output_directory, 'fonts')));
|
.pipe(gulp.dest(path.join(output_directory, 'fonts')));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user