Is there a version of a press module (http://www.playframework.com/modules/press) for Play Framework 2 to minifi and aggregate JS and CSS? Are there alternatives? I hate 20 files being included into my templates.
Thanks!
Play supports LESS directly, you can create one less file where you import all the needed CSS files. In this way you can get all your CSS in a single request.
You could look into integrating wro4j into your build: https://code.google.com/p/wro4j/ It's quite flexible when it comes to combining js/css files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With