blutorange / closure-compiler-maven-plugin

Combine and minimize JavaScript with Closure Compiler.
http://blutorange.github.com/closure-compiler-maven-plugin
Apache License 2.0
52 stars 6 forks source link

breaks calculated values #39

Closed blutorange closed 6 years ago

blutorange commented 6 years ago

Issue by garretwilson Monday Sep 03, 2018 at 16:14 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/161


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.

blutorange commented 6 years ago

Comment by garretwilson Monday Sep 03, 2018 at 16:24 GMT


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

blutorange commented 6 years ago

CSS/Yui Compressor is now out-of-scope.