Explorar el Código

less aggressive stye attribute optimization

Gildas hace 7 años
padre
commit
21449744e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/single-file/css-rules-minifier.js

+ 1 - 1
lib/single-file/css-rules-minifier.js

@@ -122,8 +122,8 @@ this.cssMinifier = this.cssMinifier || (() => {
 					styleCssText += style.name + ":" + cssStyle.getPropertyValue(style.name) + (priority && ("!" + priority));
 				}
 			}
-			return (styleCssText || cssStyle.cssText);
 		}
+		return (styleCssText || cssStyle.cssText);
 	}
 
 	function testIgnoredSelector(selectorText) {