Closed
Description
Urls are getting rebased always, even when --with-rebase
option is not used.
Both of these rebase urls and produce the same results:
cleancss assets/css/styles.css -o dist/css/styles.min.css
cleancss assets/css/styles.css -o dist/css/styles.min.css --with-rebase
In the source css, I have font and img references like these:
url('../fonts/roboto-400-latin.woff2')
url('../img/bg.jpg')
And with v5.0.0, I get these urls in the minified file, both with and without --with-rebase
:
url('../../assets/fonts/roboto-400-latin.woff2')
url('../../assets/img/bg.jpg')
With previous v4.3.0, I used --skip-rebase
and was getting:
url('../fonts/roboto-400-latin.woff2')
url('../img/bg.jpg')
I'm running macOS Big Sur 11.2.