title: Play framework auto javascript and CSS minifier
body: <p>Does anyone know a good play plugin that automatically minifies javascript and css to attach to a production play server?</p>
  
  <p>I've found this one, but I guess there are more out there:</p>
  
  <p><a href="https://github.com/greenlaw110/play-greenscript" rel="nofollow">https://github.com/greenlaw110/play-greenscript</a></p>
  
  <p>The main problem I see here is that the having javascript being generated from the play side, the plugin would have to detect JS code that gets generated on the fly. Mainly because I'm writing values directly into the javascript like:</p>
  
  <pre><code>function foo${handlerID}(someVar){
  var x = ${some_val};
  
  (...)
  }
  
  var t = foo${handlerID}('bar');
  </code></pre>