-
-
Notifications
You must be signed in to change notification settings - Fork 51k
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
v4升级至v5中,获得less变量时异常 #38755
Comments
@MadCcc 配置项这块看起来也需要 lib,否则得绕一圈。 |
@zombieJ 和之前的 locale 类似,node 环境引用 esm( |
我比较担心这样最后 export 一堆东西出来,这样的话还不如恢复 lib。 |
@zombieJ 嗯嗯,目前来看,把 lib 加回来,确实更具备兼容性。 |
Fixed in ant-design/compatible#151 |
Reproduction link
https://github.com/qiqizjl/antd-v4-to-v5
Steps to reproduce
@ant-design/compatible
config/config.ts
中增加对less变量的处理What is expected?
服务正常启用。less中的变量被正确编译
What is actually happening?
启用报错,提示无法解析config/config.ts
The text was updated successfully, but these errors were encountered: