]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
explicitly call out font files 11599/head
authorWeston Platter <westonplatter@gmail.com>
Sat, 23 Nov 2013 19:23:18 +0000 (12:23 -0700)
committerWeston Platter <westonplatter@gmail.com>
Sat, 23 Nov 2013 19:23:18 +0000 (12:23 -0700)
Using wildcards to specify fonts causes errors for other
npm modules, EG, https://github.com/blittle/bower-installer/issues/33.
Additionally, it’s better to lock down files included in a
library.

bower.json

index 19b7423af13cfa89dd73047c2470309073b503c3..bf60a51134174ff1b719d310b9267d5e04849ae1 100644 (file)
@@ -1,7 +1,14 @@
 {
   "name": "bootstrap",
   "version": "3.0.2",
-  "main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css", "./dist/fonts/*"],
+  "main": [
+    "./dist/js/bootstrap.js", 
+    "./dist/css/bootstrap.css", 
+    "./dist/fonts/glyphicons-halflings-regular.eot",
+    "./dist/fonts/glyphicons-halflings-regular.svg",
+    "./dist/fonts/glyphicons-halflings-regular.ttf",
+    "./dist/fonts/glyphicons-halflings-regular.woff"
+  ],
   "ignore": [
     "**/.*",
     "_*",