Greetings! I’ve been off the forums for a while, but I’m back, with a vengeance. I recently rewrote my External library (see previous version).
Here is the link to the new library. https://github.com/darkhouse/External
There were a lot of things I wanted to incorporate into it so I’ve rewritten it from scratch. Version 2 is based on the same principle that you can specify assets for certain routes, but with some new, I think cool, features. I’ve explained them in more detail on the wiki, but here’s a summary.
Groups - Everything is group based now (inspired by tonydewan’s Carabiner) so you can load only assets from a specific group if you want. You can also load assets in more than one place on a page, so you can target different assets for different parts of your page.
Inheritance! - You can specify assets for a route, but also inherit assets from another route.
Exclusions - when inheriting, you can tell it to ignore certain groups.
Weights - you can load the assets in whatever order you want.
LESS.js - I use LESS.js myself, so I’ve added support for that.
Pretty Output - There is a tabs param so that the output matches the indentation of the rest of your code.
There are more details on the wiki, and some usage code. Also, I’ve added a sample config file that has the settings I used for a site recently. That should give you a pretty good idea how to setup your config file.
Thanks to everyone who used my original, and I hope this new version helps make things even better.