Yii-ish way to process (for example, compress) css/js files before publishing them? Seems that there is not something like beforePublish().So where should I put my code for processing assets files?
Yii-ish way to process (for example, compress) css/js files before publishing them? Seems that there is not something like beforePublish().So where should I put my code for processing assets files?
Take a look at this:
http://www.yiiframework.com/doc/guide/1.1/en/topics.performance#minimizing-script-files
And then check this extension which compresses files, you can either use it or take it as an example and make your own