From 8e7db16cb3e8b82cf838143a2892e6c36c9e4617 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 15 Jun 2015 13:01:47 +0200 Subject: [PATCH] Add copy of woff2 font. --- Gruntfile.js | 3 ++- grunt-config/copy.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index ac2c71d..96511f4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -30,7 +30,8 @@ module.exports = function(grunt) { 'bower:install', 'bower_concat', 'copy:bootstrap-select.css.map', - 'copy:fontawesome-webfont.woff', + //'copy:fontawesome-webfont.woff2', + //'copy:fontawesome-webfont.woff', 'copy:fontawesome-webfont.ttf' ]); diff --git a/grunt-config/copy.js b/grunt-config/copy.js index d3ffb9a..8122803 100644 --- a/grunt-config/copy.js +++ b/grunt-config/copy.js @@ -3,6 +3,10 @@ module.exports = { src: 'bower_components/bootstrap-select/dist/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": { src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff', dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff'