Easily minify javascript and css using Fixie Shrinker
Most Rails plugins that minify javascript and css do it on deployment on the server. This requires that the server has the tools installed for doing the minification. What you want is to have the minification process happen constantly during development, alerting you to any minification issues immediately.
Fixie Shrinker does just that. Released two days ago. At http://github.com/joevandyk/fixie_shrinker/tree/master
Comments
Hyperlink here! http://github.com/joevandyk/fixie_shrinker/tree/master
The motivation for this was that I kept running into problems where the js worked fine in dev mode, but then once deployed (and either combined into one file with the standard rails packager or minified by other software), it failed.
With this tool, invalid javascript fails bigtime on your next page refresh. Not when doing the deploy.
<blockquote>
Post a comment