From: Weston Platter Date: Sat, 23 Nov 2013 19:23:18 +0000 (-0700) Subject: explicitly call out font files X-Git-Tag: v3.0.3~16^2~11^2~19^2~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11599%2Fhead;p=thirdparty%2Fbootstrap.git explicitly call out font files 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. --- diff --git a/bower.json b/bower.json index 19b7423af1..bf60a51134 100644 --- a/bower.json +++ b/bower.json @@ -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": [ "**/.*", "_*",