Closed maxrosecollins closed 6 years ago
@maxrosecollins are there any updates about this issue?
As you may have noticed I'm not spending much time on the gem. However, I plan to spend some time on it during the festivities and will check this issue as well.
Sorry I should have figured out this earlier: htmlcompressor only supports yui as the css compressor. A PR I merged today make the error more clear in this situation (with a different messages for "option not set" and "compressor not found".
htmlcompressor also accepts an object as a parameter for the css_compressor
option: this can be used to make it work with other compressors. The only thing required is for the object to have a compress method that will receive the content to compress and returns compressed content
My settings are as follows
But I am getting the following error
No CSS Compressor. Please set the :css_compressor option