Issues with asset-url or image-url and svg
AntiFish03 opened this issue · comments
Joseph Cota commented
I am just now converting from manually compiled less to less-rails and svgs paths were working before.
The error I am seeing is:
error evaluating function `data-uri`: Optional dependency "mime" is required for .svg
as an example it is having issues with this line
background-image: ~"asset-url(@{flag-icon-css-path}/@{country}.svg)";
it also has the same issue with:
background-image: asset-url("@{flag-icon-css-path}/@{country}.svg");
maxd commented
@AntiFish03 Could you please provide simple project to reproduce problem?
Joseph Cota commented
Sure give me a few
Joseph Cota commented
Ignore me... it was a short between the back of the chair and the keyboard.
Joseph Cota commented
I found the issue while setting up the demo for you
Drew Hamilton commented
Well what was the issue? I just can't seem to solve the problem.
Joseph Cota commented
@awh-tokyo, Sorry I don't remember that was over 3 years ago.