You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem about the background-image url. There is a background-image url like "background-image: url('../../css/img/slice/icon-arrow-bottom.svg?fill=#444');" in
my css files. I need to retain the 'fill=#444' for the other handling. But when the files dealed with by css-loader, the background-image url change to
"background-image: url(src/css/img/slice/icon-arrow-bottom.svg?#444);". The 'fill=' was lost.
I find this problem caused by the 'idx = url.indexOf("?#");'(in css-loader/lib/loader.js ). In this code, it just retain the query like '#444'. If you can change the code to 'idx = url.indexOf("?");'?
It can retain the whole query with this code.
The text was updated successfully, but these errors were encountered:
I have a problem about the background-image url. There is a background-image url like "background-image: url('../../css/img/slice/icon-arrow-bottom.svg?fill=#444');" in
my css files. I need to retain the 'fill=#444' for the other handling. But when the files dealed with by css-loader, the background-image url change to
"background-image: url(src/css/img/slice/icon-arrow-bottom.svg?#444);". The 'fill=' was lost.
I find this problem caused by the 'idx = url.indexOf("?#");'(in css-loader/lib/loader.js ). In this code, it just retain the query like '#444'. If you can change the code to 'idx = url.indexOf("?");'?
It can retain the whole query with this code.
The text was updated successfully, but these errors were encountered: