From a42d7ff3198ac246bec64d13363c6d911f2e71a3 Mon Sep 17 00:00:00 2001 From: Weston Platter Date: Sat, 23 Nov 2013 12:23:18 -0700 Subject: [PATCH] explicitly call out font files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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": [ "**/.*", "_*", -- 2.47.2