Skip to content
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

css antd.variable.min.css in dist has packeged css twice, one not with var, one with var, please remove. #5530

Open
1 task
WormGirl opened this issue Apr 20, 2022 · 2 comments

Comments

@WormGirl
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.0

Environment

not need

Reproduction link

https://www.github.com

Steps to reproduce

image
image

What is expected?

do not packaged twice

What is actually happening?

css packaged twice

@tangjinzhou
Copy link
Member

并不是打包两份,而是被优先级更高的覆盖了
你可以自定义 @text-color 这个less 变量为 css var

@WormGirl
Copy link
Author

意思是var这种是覆盖上去的么,后面会移除掉非var部分的重复代码么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants