Hello,
I’m using Middleman with Bower and Sprockets.
One of my bower packages is Venobox (http://lab.veno.it/venobox/) and not only depends on css and js files, it also has some images:
close.gif
next.gif
preload-circle.png
preload-dots.png
preload-ios.png
preload-quads.png
preload.png
prev.gif
I found a way to import the images on build using this command in my config.rb:
sprockets.import_asset(‘venobox/venobox/close.gif’) {|x| ‘assets/javascript/vendor/venobox/close.gif’}
The problem is that I have to import all the assets one by one…
Is there a better way to use bower/sprockets with packages that has not only css and js files?
Thanks!