-
-
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
Support for less >= v3.0.0
#239
Comments
I just updated less to v3 and got
|
That warning already appeared in the alpha version of less3 but didnt lead to an exception. |
for me , it is an issue : less-loader 4.0.5 + less3.0.0 leads me to non-resolvable import for this case:
and in package, usage of local import in less files
Solved after a few hours with a rollback on "less": "^2.3.1". |
Can not resolve imports though WebStorm sees files. less 3.0.0 |
Just updated to LESS 3.0.0 and also getting the above issues. I will roll back to 2.3.1 for now |
PR welcome! |
I investigated and found:
|
Are these issues also applicable with the Less resolver (as opposed to the Webpack resolver)? I'm moving my compilation process from Grunt to Webpack and so far everything is OK with Less 3.0.0 (there was only one difference between the output of my two builds), but I don't want to run into anything problematic down the line. |
thx to @RinkAttendant6 i could fix the compilation for me. Using the less resolver
and writing my imports like this
fixed my issue. Hope this helps others. |
Grmpfl, doing this seems to have sideffect on subsequent builds when using a watch task. Will have to investigate further (or wait fore the official less3 support from #242) |
@rejas If I may ask, what side effects did you encounter when running the watch task? |
@RinkAttendant6 running my build pipeline once (for production) works like expected. but when i run my develop pipeline which has watch tasks that trigger a build the final output doesnt change :-( |
Released in |
Less.js v3 was just released: https://github.com/less/less.js/blob/master/CHANGELOG.md
Using the webpack resolver won't work correctly:
The text was updated successfully, but these errors were encountered: