Call JS & CSS handler when creating a WAR archive using Grails

When using Grails when creating a WAR archive, I would like to apply a filter to all Javascript and CSS files: yui-compressor mimifier. Are there any good ways to achieve this with Grails?

+3
source share
2 answers

I know this is the answer, but if you want to do it yourself without installing plugins, look at:

http://www.milan-ramaiya.com/2010/09/15/compressing-javascript-and-css-using-yui-compressor-during-grails-build/

This will be done only when the war is built, and will also show you how to make changes to the warring files.

+2
source

UiPerformance YUI. , grails war, / .

, .war( ), () .

+3

All Articles