-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Compile Error] Conflict between less@3.0.0-alpha.3 and antd@2.13.4 #3113
Comments
Thanks for reporting. |
ping~ |
Needed |
Faced the same issue, occurs in all 3.0.* versions - both in alpha and stable versions. |
It seems less 3 does not support the function hack anymore, @matthew-dean could you confirm it? |
The The reason is the bezierEasingMixin function doesn't have a return value, and the parser will try to parse the |
@seven-phases-max Thanks for the response, I'm looking into this issue, and got an error when compile custom function, so I ask the question here. I found the reason as I commented above, but I don't understand less codebase very well, so I can't figure out how to fix it. Could you take a look? |
Regarding the "inline javascript" - use plugins instead. |
Looks good, we don't need the hack anymore, thanks! |
Just FYI, this plugin functionality ("custom functions via |
Thanks! |
Inline JS was never designed for that purpose, and yes, it's now disabled by default for security reasons. Even without |
This mainly seems to be an Inline JavaScript / less configuration issue and not a bug. If the only issue is:
That may be valid. Leaving open but downgrading this issue. |
I'm about to close this ticket (in favour of reopened #3182) - because the original issue is solved somehow (how?) and for another issue (" |
Closing this alpha bug and moving to #3182. |
Version
less@3.0.0-alpha.3
antd@2.13.4
Steps to reproduce
Compile the antd.less directly in the CLI:
Error log
Additional comment
It goes well with less@2.7.1.
Click here for more discussion in ant-design
The text was updated successfully, but these errors were encountered: