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?
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.
UiPerformance YUI. , grails war, / .
grails war
, .war( ), () .