]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added fonts to "main" files 9964/head
authorThomas Welton <thomaswelton@me.com>
Wed, 21 Aug 2013 00:32:39 +0000 (01:32 +0100)
committerThomas Welton <thomaswelton@me.com>
Wed, 21 Aug 2013 07:08:56 +0000 (08:08 +0100)
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

index 7ba448d27c8b859fcd5444a2f0640780997a58c0..0d03da6c90742b1350e09d77bb4ec8677f7d65e0 100644 (file)
@@ -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": [
       "**/.*"
   ],