Enrico Dias
Enrico Dias
I know it's an old issue, but wouldn't be better to set a minimum free space value to accept uploads? If the server really doesn't have space, the upload may...
`@import` is parsed by the client, not the server. You may remove them from your main css and add them to the minification process in the server side.
The CSS will only update when you minify the file again. This lib doesn't monitor your images.
Yes, I saw that the lib can import images into a single css file but the original filename is not saved in the minified version. If you change those images,...
As mentioned in https://github.com/wp-media/wp-rocket/issues/2974, lines with ```//.``` should also not be treated as comments. I updated the fix to include this case.
Interesting... but comments staring with `.` and `i` without any space in between are less common than regex expressions containing those symbols. I can't think of a solution that will...
How about this pattern? Could you see any side effects? ```php $js = " // comment infowindow.open(map,marker); //infowindow.open(map,marker); //.comment /* comment */ test: [/\sedg\//i], //test: [/\sedg\//i], if(b)return w.IGNORE;var c=B(fb(a,\"href\"));b=R(fb(a,\"hostname\"));c=c?/^https?:\/\//.test(c)||/^\/\//.test(c):!1;if(c&&!lc(a)){if(la)return w.TRACK;...
I'll try to change the regex of `shortenColorCodesToHex` and send a PR for this. It's possible that this issue occurs in other css properties as well, so I guess it's...
Minification is not obfuscation. Changing variable names is a more complicated process and can easily break the code.
In order for someone to help you, you need to provide an example of code that results in this error.