mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-01 03:10:14 +02:00
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.
This commit is contained in:
@@ -1,7 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "bootstrap",
|
"name": "bootstrap",
|
||||||
"version": "3.0.2",
|
"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": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
"_*",
|
"_*",
|
||||||
|
Reference in New Issue
Block a user