From: Thomas Welton Date: Wed, 21 Aug 2013 00:32:39 +0000 (+0100) Subject: Added fonts to "main" files X-Git-Tag: v3.0.1~136^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56f1ff6ca7f4bee5f031f82b7b6191f7a7a61f48;p=thirdparty%2Fbootstrap.git Added fonts to "main" files When using bower the "main" property is used to specify the files that should be consumed by applications including the package as a dependency. Without including the fonts in this array the glyphicons do not work correctly as the relative font paths do not work after the "main" files are copied into my projects public dir using tools like https://github.com/yatskevich/grunt-bower-task For now I have manually copied the fonts dir in the location needed for my project. But by accepting this pull request this will not be necessary for me or for other people that use bower. --- diff --git a/bower.json b/bower.json index 7ba448d27c..0d03da6c90 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "bootstrap", "version": "3.0.0", - "main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css"], + "main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css", "./dist/fonts/*"], "ignore": [ "**/.*" ],