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

@import remote file fails with (less) option

StanBoyet opened this issue · comments

Following the LESS language documentation, I try to import a remote CSS file and to treat it as a LESS file (basically to extend a class, but whatever).

So importing the file as basic CSS like this works:

@import 'https://cdn.com/path/to/style.min.css';

But the issue appears when I want to treat it as a LESS file:

@import (less)'https://cdn.com/path/to/style.min.css';

It raises Less::Error at / optional dependency 'request' required to import over http(s)

Hi,

Does anybody have this issue as well? Can I do anything in order to help?

Thanks