Answer the question
In order to leave comments, you need to log in
How to change the path to fonts in min.css files obtained from Gulp and Grunt?
There is a design with a folder of vendors: bootsrap, font-awesome and so on. They are just cloned git repositories. When I merge all dist css files into one min.css file, then the paths to the fonts remain the same, and do not change relative to the new position of the common min.css file.
How to change the path to resources when combining and minifying? Is there an npm package that allows you to implement your plans?
Thank you for your help
Answer the question
In order to leave comments, you need to log in
You can do this with different packages.
Like this https://www.npmjs.com/package/gulp-modify-css-urls
or like this https://www.npmjs.com/package/gulp-replace
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question