normalizeUrl
Normalizes URL strings. It can remove default ports, resolve unnecessary directory traversal & unquote the value.
Example
Input
.box {
background: url("./css/../img/cat.jpg");
}Output
.box {
background: url(img/cat.jpg);
}Normalizes URL strings. It can remove default ports, resolve unnecessary directory traversal & unquote the value.
.box {
background: url("./css/../img/cat.jpg");
}.box {
background: url(img/cat.jpg);
}