You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works great, but I am having trouble getting the setMinifyCommand to work. I am trying to use yuicompressor. I have my path to yuicompressor set correctly but the css or js is not being compressed.
Everything works great, but I am having trouble getting the setMinifyCommand to work. I am trying to use yuicompressor. I have my path to yuicompressor set correctly but the css or js is not being compressed.
I have added:
->setCacheDir(PATH_PROJECT . '/data/cache/css')
->setDocRoot(PATH_PROJECT . '/public')
->setUseMinify(true)
->setMinifyCommand('java -jar /path/to/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar -o :filename')
->setUrlPrefix('/stylesheets');
I have tested the following yuicompressor command manually and it works just fine:
java -jar /path/to/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar test.css -o test.min.css
Is there something I'm leaving out?
The text was updated successfully, but these errors were encountered: