After running grunt build
I'm left with no fonts
directory inside dist/styles
.
What am I doing wrong?
Here's what I have in the Gruntfile.js
:
compass: { options: { sassDir: '<%= yeoman.app %>/styles', cssDir: '.tmp/styles', imagesDir: '<%= yeoman.app %>/../images', javascriptsDir: '<%= yeoman.app %>/scripts', fontsDir: '<%= yeoman.app %>/../styles/fonts', importPath: 'app/bower_components', relativeAssets: true, }, dist: { options: { imagesDir: '<%= yeoman.dist %>/images', fontsDir: '<%= yeoman.app %>/../styles/fonts' } }, server: { options: { debugInfo: true } } },
The
compass
task isn't responsible for copying fonts over fromapp
todist
. This is instead handled by thecopy
task, which usually looks like this: