Closed SerbanC closed 9 years ago
When generating the folder structure there is a fonts folder created directly under app. I placed my local fonts there but they weren't being copied dist, so I looked inside gruntfile.js and the paths are different:
fonts
app
dist
gruntfile.js
// Renames files for browser caching purposes filerev: { dist: { src: [ '<%= config.dist %>/scripts/{,*/}*.js', '<%= config.dist %>/styles/{,*/}*.css', '<%= config.dist %>/images/{,*/}*.*', '<%= config.dist %>/styles/fonts/{,*/}*.*', '<%= config.dist %>/*.{ico,png}' ] } },
and
copy: { dist: { files: [{ expand: true, dot: true, cwd: '<%= config.app %>', dest: '<%= config.dist %>', src: [ '*.{ico,png,txt}', 'images/{,*/}*.webp', '{,*/}*.html', 'styles/fonts/{,*/}*.*' ]
Unless I'm missing something, the generator should create app/styles/fonts instead of app/fonts or gruntfile.js should be modified.
app/styles/fonts
app/fonts
When generating the folder structure there is a
fonts
folder created directly underapp
. I placed my local fonts there but they weren't being copieddist
, so I looked insidegruntfile.js
and the paths are different:and
Unless I'm missing something, the generator should create
app/styles/fonts
instead ofapp/fonts
orgruntfile.js
should be modified.