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
{{ message }}
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Unless you don't intentionally want to cause headache for other devs like me, please turn it explicitly off. I had to add its option to my config to fix the SASS rendering with sourcemap, while I almost submitted an issue to the bootstrap guys.
If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled and there is no publicPath defined then lets turn convertToAbsoluteUrls on by default. Otherwise default to the convertToAbsoluteUrls option directly
Right now I don't have an easy example, but here's a bug that convertToAbsoluteUrls was causing.
After transpiling bootstrap.scss into CSS, this line that uses this variable is corrupted as the variable adds the current url to the url("data:image/svg+xml;charset=utf8 ... attribute.
So in my case, it became: url("http://localhost:8000/account/login/data:image/svg+xml;charset=utf8 ...
which is obviously bad.
There were more errors which I didn't investigate further, but this was the most eye catching. After turning the option off, the CSS got generated in the right way.
@sontek Sry for pinging you again on this, but would you be so kind and take a look again providing me some guidance what to do about it 😛 e.g could it be disabled by default or would it break builds the other way around then again 🙃 ?
Oh, looks like no one released that fix. I'm sorry about that @karolyi this is actually fixed (and has been fixed for 4 days), it just hasn't been released to npm yet.
Activity
[-]please turn convertToAbsoluteUrls explicitly off.[/-][+]please turn `convertToAbsoluteUrls` explicitly off.[/+][-]please turn `convertToAbsoluteUrls` explicitly off.[/-][+]please turn convertToAbsoluteUrls explicitly off.[/+]michael-ciniawsky commentedon Mar 20, 2017
@karolyi Config and a small example please
michael-ciniawsky commentedon Mar 20, 2017
Just to confirm, this isn't an option for you ?
michael-ciniawsky commentedon Mar 20, 2017
Eventual docs update needed
karolyi commentedon Mar 20, 2017
Right now I don't have an easy example, but here's a bug that convertToAbsoluteUrls was causing.
After transpiling bootstrap.scss into CSS, this line that uses this variable is corrupted as the variable adds the current url to the
url("data:image/svg+xml;charset=utf8 ...attribute.So in my case, it became:
url("http://localhost:8000/account/login/data:image/svg+xml;charset=utf8 ...which is obviously bad.
There were more errors which I didn't investigate further, but this was the most eye catching. After turning the option off, the CSS got generated in the right way.
michael-ciniawsky commentedon Mar 21, 2017
@sontek Sry for pinging you again on this, but would you be so kind and take a look again providing me some guidance what to do about it 😛 e.g could it be disabled by default or would it break builds the other way around then again 🙃 ?
sontek commentedon Mar 21, 2017
@karolyi What version of
style-loaderwere you using? This sounds like the issue we fixed in the last PRsontek commentedon Mar 21, 2017
Oh, looks like no one released that fix. I'm sorry about that @karolyi this is actually fixed (and has been fixed for 4 days), it just hasn't been released to
npmyet.@michael-ciniawsky Any chance you can push a release with the fix?
michael-ciniawsky commentedon Mar 21, 2017
@sontek Thx
cc @d3viant0ne @bebraw
sontek commentedon Mar 21, 2017
Should we keep this opened until we release and he verifies?
joshwiens commentedon Mar 21, 2017
It's already been released
karolyi commentedon Mar 21, 2017
I'll test it soon and give you guys a feedback. bear with me :)
karolyi commentedon Mar 21, 2017
can confirm it seems to have fixed in
0.15.0. yesterday I was using0.14.1.cheers guys
sontek commentedon Mar 21, 2017
phew I was going to be very confused if that PR didn't fix it :D
mgol commentedon Apr 13, 2017
This still doesn't work in some cases. I reported #214.