#13 new

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. :)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript dependency management and concatenation
<a href="http://getsprockets.org/">http://getsprockets.org/</a>