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
{{ message }}
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
The Minify library reserves text/css for recognizing CSS files to be compressed (thus, ignoring LESS parsing). This makes it quite difficult to compress .less files and change the output header after compression.
Will look around for hooks where to fix all this stuff...
Anyway, I think we really need some Minify 3.0 with some better way of defining adapters... Minify classes are too thightly coupled with each other!
The text was updated successfully, but these errors were encountered:
You want to edit Minify_Source so it marks *.less files with contentType = "text/css", and minifier = array('LessCss_Minify' ,'minify').
True about Minify being too coupled. The 2.2 branch has some work started on this, but it's not at all functional. Another thing to look at is Assetic. Looks like a 5.3 Minify killer :)
Thank you for the hints!
I'll take a look at assetic, anyway I still think that your minify is great work, but that it could be really enhanced by some "ok, let's start over" :)
I already tried with text/css thingy in Minify_Source, but didn't work for me, or, at least, it tried to rework any .css file as if it was less!
Will see how 2.2 works, and also check if I can work on it this weekend...
Will keep the issue updated... Also, let me know if these features could be dropped into the official minify package if they become stable enough...
The Minify library reserves text/css for recognizing CSS files to be compressed (thus, ignoring LESS parsing). This makes it quite difficult to compress .less files and change the output header after compression.
Will look around for hooks where to fix all this stuff...
Anyway, I think we really need some Minify 3.0 with some better way of defining adapters... Minify classes are too thightly coupled with each other!
The text was updated successfully, but these errors were encountered: