jQuery 1.4 is compatible with the Closure compiler, but only with customization SIMPLE_OPTIMIZATIONS. The official jQuery mini version is actually compiled with this option, and this reduces the file size by 13%. Quote from this comment comment from John Resig:
Switching with YUI Compressor to Google Compiler. Minimized and Gzipped size reduced to 22,839 bytes from 26,169 bytes (decrease of 13% in files).
source
share