CSS minifier for Maven compatible with modern CSS

Viewed 348

Can someone point me to a Maven dependency I can add to my POM to minify a file using modern CSS?

Before you say to use com.samaxes.maven:minify-maven-plugin, note that it breaks calculated values: https://github.com/samaxes/minify-maven-plugin/issues/161

In fact any CSS minifier based on YUI Compressor will break calculated values: https://github.com/yui/yuicompressor/issues/268

And com.samaxes.maven:minify-maven-plugin/YUI corrupts the file if it contains certain sequences such as the end of a comment */*… (such as found in minified Bootstrap Reboot): https://github.com/yui/yuicompressor/issues/313 .

So is there no CSS minifier for Maven that works with modern CSS?

0 Answers
Related