-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add support for less module #76
Conversation
(cherry picked from commit 08dd005ddf01c757fec4afa3f4d44e8c79ac6e3f)
Signed-off-by: Chuck Fan <fanck0605@qq.com>
For example, sideEffects: true Signed-off-by: Chuck Fan <fanck0605@qq.com>
Signed-off-by: Chuck Fan <fanck0605@qq.com>
Signed-off-by: Chuck Fan <fanck0605@qq.com>
Now, like other style sheets, we don't need to add exclusions in file loader Signed-off-by: Chuck Fan <fanck0605@qq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @fanck0605 for working on this issue. I will try to test your PR with different options, can you please address my comment concerning clone
Thank you @fanck0605! I really appreciate the update to the documentation in README, and also the great test cases. Also thanks @tux-tn for the review! I will leave a comment on that review as well |
Signed-off-by: Chuck Fan <fanck0605@qq.com>
Signed-off-by: Chuck Fan <fanck0605@qq.com>
Signed-off-by: Chuck Fan <fanck0605@qq.com>
Signed-off-by: Chuck Fan <fanck0605@qq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Thank you @fanck0605 for the great work!
Thanks @fanck0605! This is now merged and released in version |
Now, we can use less and less module at the same time without any additional configuration!
This change takes into account forward compatibility, but it still does not guarantee that all old configurations will work properly in the new version.
We can use the
options
object to configure less and less modules at the same time.If we just want to modify some less variables, this will be enough.
If we need to modify less and less module separately, please use
modifyLessRule
andmodifyLessModuleRule
.This works fine in my project, but still needs more testing to make sure there are no potential problems!