$icon-url block compile
ruoqianfengshao opened this issue · 5 comments
ruoqianfengshao commented
ruoqianfengshao commented
I find varibale recognized by scss-to-json
, scss-to-json
will remove '//' and what's behind it.
prncc commented
@ruoqianfengshao Did you actually solve this issue, or have you given up trying to? If it's the latter, I'll reopen and see what can be done to fix it.
ruoqianfengshao commented
@prncc Thx for your response, I fork scss-to-json and antd-scss-theme-plugin, and solve this problem with not elegant way :).
ruoqianfengshao commented
@prncc I'd like to publish a new scss-to-json
package,will you change the repo's dependency? 😄
prncc commented
@ruoqianfengshao I took a closer look. You should be able to fix your problem by escaping the slashes in the URL:
$icon-url: "https:\/\/at.alicdn.com\/t\/font_148784_v4ggb6wrjmkotj4i";