Re:What CSS minifiers also leave behind
by remy_luisant on Wednesday April 05, 2017 @04:50PM
(#14045496)
I'm working on one, though I'm not sure if it will ever see the light of the day. I have four months of free time and if someone would feed and house me for that time, I'd do it and open source it.
Any sponsors? No? Didn't think so. Not even you, big G? Aww...
For now some minifiers do sort the values, which helps.
Re:What CSS minifiers also leave behind
by thaunatos on Wednesday April 05, 2017 @05:38PM
(#14045877)
Maybe open-source it anyways? :-)
Re:What CSS minifiers also leave behind
by remy_luisant on Wednesday April 05, 2017 @06:30PM
(#14046265)
I won't have it any other way.
The "not starving to death" thing is a bit of an issue on the way there... Well, I have savings, but...
And if I get a horrid job, then I won't have the energy. :P
Things like:
* Rearrange rules within the file to put similar rules within the sliding window.
* Rearrange rules so that tail of the last declaration of one rule and the start of the next selector create the longest possible common substring.
* Rearrange the order of declarations within the rules to maximize the length of common substrings that span two declarations, ie ": 2em;\nbackground-color: rgb("