Apostrophe (a CMS plugin for Symfony, among other things) includes a minifier for JS and CSS which is integrated into Symfony so that whatever you have in view.yml, etc. will wind up as part of the minified bundle.
I'm not an expert on Closure but I'm not sure whether you can count on JS code that works without Closure always working with Closure, since it is an optimizing compiler and might have some requirements in terms of what is allowed. If you're going to use Closure you should probably use it all the time, even in dev, to make sure your code that works in dev will work in production. Closure is pretty amazing stuff - if you truly need a hardcore optimizer and linter of your JS code, go for it. But if you really just need a minifier and no surprise behavior changes in production, you should probably consider Apostrophe and its a_include_javascripts and a_include_stylesheets calls. Those aren't really very Apostrophe-specific, you could pull those helpers into your own helper if you don't really need the rest of Apostrophe. (This is in the 1.5 svn branch, not released as a tarball just yet, although it is the basis of our current client projects and will be declared a stable release shortly) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
