Closed siddhion closed 11 years ago
Ok I just had to pop in a {,*/}
and *.tff
like so
'<%= yeoman.dist %>/styles/fonts/{,*/}*.ttf'
to get it working.
so my rev looks like
rev: {
dist: {
files: {
src: [
'<%= yeoman.dist %>/scripts/{,*/}*.js',
'<%= yeoman.dist %>/styles/{,*/}*.css',
'<%= yeoman.dist %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
'<%= yeoman.dist %>/styles/fonts/{,*/}*.ttf'`
]
}
}
},
Ok so I just changed this
'<%= yeoman.dist %>/fonts/*'
to
'<%= yeoman.dist %>/fonts/{,/*}*.tff'
Now all my .tff fonts are processed
I tried fixing this with filter: 'isFile'
but no matter where I put the damn thing it wouldn't work. Any ideas?
When I
grunt build
my angular app Igrunt-rev
has a problem dealing with the fonts. It creates the font folders just fine but does not place any fonts in them. Here is what it shows me.How to fix this?
Here is my Gruntfile.js