The play documentation says that « By default, [the Assets] controller provides caching, ETag, gzip compression and JavaScript minification support. »
How can I set up play to minify the javascripts files ? It’s not done in the default setting either in dev or prod mod, and the doc doesn’t explain it.
Thank you.
Make sure your javascript ressources are located in your
/app/assets/javascriptfolder (so you will benefit from Google Closure Compiler), and then, you just have to name your js file using whatevername**.min**.jsExample in a view: