Alright so lets say I have these files in vendor/assets/javascript/:
modernizer.jslightbox.jshighchart.js
And these files in app/assets/javascript/:
pages.js.coffeeaccounts.js.coffeeapplication.js.coffeecharts.js.coffee
I would like to have lightbox.js, highchart.js and modernizer.js all compiled into seperate files. Here’s an example in public/assets/:
application-HASH.jsmodernizer-HASH.jshighchart-HASH.jslightbox-HASH.js
I’m using Rails 3.1.3, Ruby 1.9.3 (Not that this matters).
Add them to the list of assets to precompile by sticking this in application.rb