-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Casted import not working #27
Comments
More generally, I think import options don't work. |
Yes exactly - this hasn't been baked in yet unfortunately, thanks for pointing it out. The area this would be resolved is in RequireCSS here - https://github.com/guybedford/require-css/blob/master/css.js#L416. Basically, it inlines all the imports before sending to the less parser. The way to change this would be to set a flag on the It's kind of tricky to prioritise work on this module in the next week or so as I am focusing on jspm at the moment. Happy to accept pull requests though in the mean time. |
Thanks but I will probably not have time to debug that. It's not blocking |
A fix for this is being investigated in #30. Moving the discussion there as it has the same root cause. |
Thx. Works perfect. |
Doing this in my less file:
Causes this in
css.js
:NOTE:
less.js
module is already loaded from another directory. Here is my configuration:It works fine when doing
@import "lib.css";
The text was updated successfully, but these errors were encountered: