Bundle-fu
An asset packager in only 2 lines of code
http://code.google.com/p/bundle-fu/
Bundle-fu isn’t the only asset packager out there.
It:
- Does not require a separate config file
- Does not require a rake task to be run everytime you update the CSS
- Has an easy bypass mechanism when you need to debug your css/js ( put ?bundle_fu=false at the end of your url. Stays bypassed as long as the session is loaded. )
- Is optimized for production and development (changing any css/js file or changing the output from the bundle_do block will regenerate the bundles in development mode, but not in production mode. )
- Rewrites relative URLs in your CSS files, so you’ll never have broken images.
- Bundle-fu currently does not compress CSS or Javascript, as the speed gained by doing so is often marginal, at best.
script · · 329 similars
Rank: 1k · Posted on Oct 29, 2007
