title: How to enable minified JavaScript files in Play 2.3.1 templates?
body: <p>I was able to load the sbt-uglify 1.0.3 plugin in my Play Framework 2.3.1 app. Loading of the non-minified javascripts is pretty straightforward, but loading the minified versions seems to be impossible.</p>
  
  <p>In my template I use <code>&lt;script&gt;</code> tags similar to this:</p>
  
  <pre><code>&lt;script src="@routes.Assets.at("javascripts/app.js")"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In dev mode, the non-minified javascript version is loaded, which is fine. In prod mode (using <code>activator start</code>) I see sbt-uglify generating the minified versions to the <code>target/web/uglify/build</code> folder, but because I didn't change the above <code>&lt;script&gt;</code> tag line in my templates, the non-minified versions of the javascripts files are loaded.</p>
  
  <p>Is there a way to do a prod-only mapping of such routes to load the minified versions?</p>