samaxes / minify-maven-plugin

Combine and minimize JavaScript and CSS files for faster page loading.
http://samaxes.github.com/minify-maven-plugin
Apache License 2.0
222 stars 91 forks source link

breaks calculated values #161

Open garretwilson opened 6 years ago

garretwilson commented 6 years ago

My source file has this:

.foo {
  font-size: calc(0.5em + 1vw);
}

The plugin changes this to:

.foo{font-size:calc(0.5em+1vw)}

This is invalid and breaks the value.

This is is a blocker issue. The plugin is broken; I cannot use it.

garretwilson commented 6 years ago

This seems to be a YUI issue: https://github.com/yui/yuicompressor/issues/268 .