From 1bd060c647a46daf1f92a63e0e77ebb84dffc48c Mon Sep 17 00:00:00 2001 From: "Portugal, Marcelo" Date: Tue, 12 Jun 2018 14:20:59 -0400 Subject: [PATCH] fix(fonts): Change font files path. BREAKING CHANGE: If you take the new CSS and do not relocate the icon files your icons will cease to show in the grid. fix #3751 --- grunt/copy.js | 8 ++++---- src/less/variables.less | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/grunt/copy.js b/grunt/copy.js index d884c7adf9..b8c85f5233 100644 --- a/grunt/copy.js +++ b/grunt/copy.js @@ -24,25 +24,25 @@ module.exports = function ( grunt ) { expand: true, cwd: 'src/font', src: '**/*.eot', - dest: '<%= dist %>/release/' + dest: '<%= dist %>/release/fonts' }, { expand: true, cwd: 'src/font', src: '**/*.svg', - dest: '<%= dist %>/release/' + dest: '<%= dist %>/release/fonts' }, { expand: true, cwd: 'src/font', src: '**/*.ttf', - dest: '<%= dist %>/release/' + dest: '<%= dist %>/release/fonts' }, { expand: true, cwd: 'src/font', src: '**/*.woff', - dest: '<%= dist %>/release/' + dest: '<%= dist %>/release/fonts' } ] }, diff --git a/src/less/variables.less b/src/less/variables.less index 176405a8b9..4e54b02630 100644 --- a/src/less/variables.less +++ b/src/less/variables.less @@ -87,6 +87,6 @@ /** * @section font library path */ -@font-path: ''; +@font-path: 'fonts/'; /*-- END VARIABLES (DO NOT REMOVE THESE COMMENTS) --*/