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

[样式打包问题] 通过less总入口打包样式缺失 #2822

Closed
amusitelang opened this issue Mar 29, 2024 · 2 comments
Closed

[样式打包问题] 通过less总入口打包样式缺失 #2822

amusitelang opened this issue Mar 29, 2024 · 2 comments
Labels
to be published fixed, not be published

Comments

@amusitelang
Copy link

tdesign-react 版本

1.5.5

重现链接

No response

重现步骤

共有两处问题

问题一

less文件总入口文件不全,需要自行排查并补充:
image

问题二

Guide组件和Drawer组件的变量使用相同的公共变量,而其他文件并未使用这个公共变量,因此在打包过程中,Drawer的的前缀被Guide的前缀覆盖掉了,导致Drawer的样式丢失,
具体可查看图片:
image

期望结果

通过 less 总入口打包希望less文件齐全,其次Guide组件和Drawer组件的样式不互相覆盖

实际结果

为达到期望结果

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @amusitelang,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

NWYLZW added a commit to Tencent/tdesign-common that referenced this issue Mar 29, 2024
NWYLZW added a commit to Tencent/tdesign-common that referenced this issue Mar 29, 2024
uyarn pushed a commit to Tencent/tdesign-common that referenced this issue Mar 29, 2024
* fix: less variable conflict Tencent/tdesign-react#2822

* fix: stylelint CssSyntaxError stylelint/stylelint#7584
@uyarn uyarn added the to be published fixed, not be published label Mar 29, 2024
@uyarn
Copy link
Collaborator

uyarn commented Apr 11, 2024

fixed 1.6.0

@uyarn uyarn closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

2 participants