After a nice chat with arthurf a feature request would be to minify contrib JavaScript. There are a couple ways we could handle this.

  • Minify remotely through UglifyJS/Closure Compiler.
  • Minify locally if you have node.js or the Java needed to run it on your server.

I like the approach of making this pluggable (maybe ctools plugins) so you can even have other custom methods.

Comments

hass’s picture

Is this issue about - how contrib modules can provide the compressed files?

wizonesolutions’s picture

Issue summary: View changes

What became of this issue? Started looking into this module and Minify. This one doesn't seem to do contrib JS yet (cough, lightbox2, cough).

KeyboardCowboy’s picture

The patch in this issue #1502858: Add UI to Configure Blacklist Paths will allow for contrib files to be minified.

KeyboardCowboy’s picture