|
|
@@ -648,7 +648,7 @@ this.uglifycss = this.uglifycss || (() => {
|
|
|
// put the space back in some cases, to support stuff like
|
|
|
// @media screen and (-webkit-min-device-pixel-ratio:0){
|
|
|
content = content.replace(/\band\(/gi, "and (");
|
|
|
- content = content.replace(/\bnot\(/gi, "not (");
|
|
|
+ content = content.replace(/([^:])not\(/gi, "$1not (");
|
|
|
|
|
|
// remove the spaces after the things that should not have spaces after them.
|
|
|
content = content.replace(/([!{}:;>+([,])\s+/g, "$1");
|