Closed marcolino closed 8 years ago
@marcolino Good question, I don't have that much experience with bower :( You could pass an array as main argument in the bower config file but I don't think this is ideal since it just will just include both css files.
I know this question has been put more than a year ago, but it could probably help some beginners with Bower.
You have to override the dependency bower main files since it only loads flags32 by default.
So, edit you bower.json
so it looks like this:
{
"name": "myProject",
"version": "0.0.0",
"dependencies": {
},
"overrides": {
"world-flags-sprite": {
"main": [
"stylesheets/flags32.css",
"stylesheets/flags16.css"
]
}
}
}
It would be very great that @lafeber edits his bower.json
to avoid overriding this. Just replace
"main": "stylesheets/flags32.css"
by
"main": [
"stylesheets/flags32.css",
"stylesheets/flags16.css"
]
Cheers
Fixed.
Bower loads flags32.css. What if I need 16px version? And, what if I need both versions (always waiting for a 24 pixels version... :-)