-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import url tries to resolve directory #67
Comments
The offending line in ProximaNova.css is |
@josephfinlayson I am running into a similar problem, trying to combine |
@janv What worked for me was to give the file an extension:
|
Can you confirm that this is a less-loader issue? I've added tests that demonstrate that |
@jhnns I added test/fixtures/less/import-url.less
and the error was
@josephfinlayson 's solution works as well as |
@josephfinlayson's solution worked for me too for google fonts. Adding .css at the end. @import url('https://fonts.googleapis.com/css?family=Lora|Open+Sans:400,400i,700.css'); |
Was facing the same issue, changed |
@xresidentx, your solution worked for me. |
@xresidentx 🎊🎊🎊 |
@xresidentx Thanks for solution. It Works |
@xresidentx thank youuuuu! |
Answer above #67 (comment), also we add tests for these cases |
Upon trying to
@import "ProximaNova-font.css";
I get this error:
I'm using the less loader in conjunction with the css module loader: my loader config is the following:
return 'style-loader!css-loader?importLoaders=2&localIdentName=[path][name]---[local]---[hash:base64:5]&url=false!postcss-loader!less-loader'
The text was updated successfully, but these errors were encountered: