I'm using bower to install bootstrap
and font-awesome
packages, and use Grunt
as a build solution. I have wiredep
configured to properly update my index.html file. Everything works great. The only problem I have is copying the font files to the dist/
directory.
I realize that I can configure my grunt copy:dist
target, but given that each package may use a different directory structure to store their fonts, it is challenging to have a single rule to copy the fonts. Additionally, if these packages have the fonts listed in their bower.json
files, isn't there a way to detect these fonts and copy them automatically?
Is there another Grunt plugin that I can use that recognizes the font files the same way wiredep
recognizes the css/js files?
I've seen other posts on SO that relate to the same issue, but no official solution to the problem.