metaskills / less-rails

:-1: :train: Less.js For Rails

Home Page:http://github.com/metaskills/less-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with asset-url or image-url and svg

AntiFish03 opened this issue · comments

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");
commented

@AntiFish03 Could you please provide simple project to reproduce problem?

Sure give me a few

Ignore me... it was a short between the back of the chair and the keyboard.

I found the issue while setting up the demo for you

Well what was the issue? I just can't seem to solve the problem.

@awh-tokyo, Sorry I don't remember that was over 3 years ago.