Add copy of woff2 font.

This commit is contained in:
Alexis Lahouze 2015-06-15 13:01:47 +02:00
parent 2328b5a850
commit 8e7db16cb3
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,8 @@ module.exports = function(grunt) {
'bower:install', 'bower:install',
'bower_concat', 'bower_concat',
'copy:bootstrap-select.css.map', 'copy:bootstrap-select.css.map',
'copy:fontawesome-webfont.woff', //'copy:fontawesome-webfont.woff2',
//'copy:fontawesome-webfont.woff',
'copy:fontawesome-webfont.ttf' 'copy:fontawesome-webfont.ttf'
]); ]);

View File

@ -3,6 +3,10 @@ module.exports = {
src: 'bower_components/bootstrap-select/dist/css/bootstrap-select.css.map', src: 'bower_components/bootstrap-select/dist/css/bootstrap-select.css.map',
dest: '<%= paths.frontend_build %>/css/bootstrap-select.css.map' dest: '<%= paths.frontend_build %>/css/bootstrap-select.css.map'
}, },
"fontawesome-webfont.woff2": {
src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff2',
dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff2'
},
"fontawesome-webfont.woff": { "fontawesome-webfont.woff": {
src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff', src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff',
dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff' dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff'