From 56f1ff6ca7f4bee5f031f82b7b6191f7a7a61f48 Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Wed, 21 Aug 2013 01:32:39 +0100 Subject: [PATCH] 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. --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": [ "**/.*" ],