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 global 中存在逗号时,构建报错 #1695

Closed
hualigushi opened this issue Nov 18, 2024 · 2 comments
Closed

css global 中存在逗号时,构建报错 #1695

hualigushi opened this issue Nov 18, 2024 · 2 comments

Comments

@hualigushi
Copy link
Contributor

hualigushi commented Nov 18, 2024

截屏2024-11-18 17 45 46 截屏2024-11-18 17 46 12

问题:css global 中存在逗号时,构建会报错
预期:不报错
复现仓库:https://github.com/hualigushi/mako-style, src/Table

Copy link

这个问题已经在 umijs/mako 的 issue #1695 中被报告。问题描述为:当 CSS global 中存在逗号时,构建会报错,而预期是不应该报错。

目前没有找到其他类似的问题报告。您可以在该 issue 中查看进展或提供更多信息。

如需进一步帮助,请在评论中描述您的问题并 @petercat-assistant 与我开始对话。

@Jinbao1001
Copy link
Member

Jinbao1001 commented Nov 19, 2024

已知问题, 先这样解决:
:global(.editable-table, .editable-fixed-right) {}
->
:global(.editable-table) :global(.editable-fixed-right) {}

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

No branches or pull requests

2 participants