The situation is as follows. In the gulp assembly there is a task that matches the fonts. It works out normally in the assembly a folder with the necessary font files appears. But the question arose in another - how to connect them to the project? Before working with gulp, I did it for example
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans" />
But now the style files are connected with gulp-ohm (there’s no need to specify a link) and I don’t quite understand how to tie them to the project. How to act in such a situation? Maybe they like css \ js files should be combined with the concat plugin into 1 file and in the head set the route to its location?
The code of the task that collects the fonts:
var gulp = require('gulp'); gulp.task('fonts', function() { gulp.src('node_modules/bootstrap/fonts/*{ttf,woff,woff2,svg,eot}') .pipe(gulp.dest('./build/src/fonts/')) gulp.src('./src/fonts/open_sans/*ttf') .pipe(gulp.dest('./build/src/fonts/open_sans')) });