begriffs / css-ratiocinator

because your CSS is garbage
MIT License
1.03k stars 49 forks source link

Preserve CSS comments #54

Open begriffs opened 10 years ago

begriffs commented 10 years ago

As mentioned in #52, ratiocinator strips all comments. One challenge in preserving them is that selectors are often removed or changed in the output, so comments for individual styles need to be rearranged in the output.

One possible algorithm:

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.