Support multiple output files in Rails plugin
Reported by ihearithurts | February 27th, 2009 @ 06:33 AM
Most of my apps use fairly different JS for their admin area and their marketing site. It'd be great if you could list multiple groups in sprockets.yml to be output by the Sprockets Rails plugin. Perhaps you could group them by a name (ex: "site", "admin", etc.) and that would be the name of the file it outputs (site.js, admin.js).
This would be somewhat similar to how the AssetPackager plugin works: http://synthesis.sbecker.net/pag...
Thanks, and great work on this. :)