F
F
Flexx972021-07-23 08:01:15
gulp.js
Flexx97, 2021-07-23 08:01:15

Why gulp doesn't see fonts?

A very simple piece of code

function fonts() {
     return src(path.src.fonts)
         .pipe(dest(path.build.fonts))
}

60fa4b413b3cc648385454.png
60fa4b6a06f69950714999.png

I can't figure out what's wrong, my fonts are simply not transferred from the 'src' folder to the folder with the finished project, as if gulp does not see my fonts in the folder at all. There is no such problem with js or css images. I tried to change the paths in path-src by type /fonts/**/*, it did not work, I tried /fonts/*.ttf because I still have all the files ttf, I also tried to load other formats such as woff, woff2, eot, he also does not see them.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question