Why is this not working correctly?
I have included [email protected]
A.css (css file that imports from a URL)
@import url('https://fonts.googleapis.com/css?family=Source Sans Pro:300,400,600,700,400italic,700italic&subset=latin');
App.less (Less file that imports A.css)
@import (css) './A.css';
During the webpack build process, it attempts to load
./https://fonts.googleapis.com/css?family=Source Sans Pro:300,400,600,700,400italic,700italic&subset=latin
instead of fetching the CSS from the specified URL.
Stack:
@import url('https://fonts.googleapis.com/css?family=Source Sans Pro:300,400,600,700,400italic,700italic&subset=latin');
^
Can't resolve './https://fonts.googleapis.com/css?family=Source Sans Pro:300,400,600,700,400italic,700italic&subset=latin' in ...
Summary A.Less - imports -> B.css - (B.css uses import via URL) -> Not functioning as expected