Skip to content

Commit aff8fa2

Browse files
committed
fix incorrect font paths on build for less
1 parent 283dd1e commit aff8fa2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/templates/Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ module.exports = function (grunt) {
234234
target: {
235235
src: '<%%= yeoman.client %>/index.html',
236236
ignorePath: '<%%= yeoman.client %>/',
237-
exclude: [/bootstrap-sass-official/, /bootstrap.js/]
237+
exclude: [/bootstrap-sass-official/, /bootstrap.js/<% if(!filters.css) { %>, /bootstrap.css/, /font-awesome.css/ <% } %>]
238238
}
239239
},
240240

app/templates/client/app/app(less).less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
@icon-font-path: '/bower_components/bootstrap/fonts';
2-
@fa-font-path: '/bower_components/font-awesome/fonts';
3-
41
@import 'bootstrap/less/bootstrap.less';
52
@import 'font-awesome/less/font-awesome.less';
63

4+
@icon-font-path: '/bower_components/bootstrap/fonts/';
5+
@fa-font-path: '/bower_components/font-awesome/fonts';
6+
77
/**
88
* App-wide Styles
99
*/

0 commit comments

Comments
 (0)