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

fix(Core): 修复使用 css variable 模式构建时,主题包内的 varMap 配置值会被重复覆盖的问题 #5002

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

YSMJ1994
Copy link
Contributor

如题,构建工具使用sass-loader 配置 additionalData 引入主题包内的 variables.scss2css.scss 文件进行编译时, 该文件的 varMap 赋值会被scss 文件内的顶部的 @import "..../core/util/_varMap" 覆盖,导致编译异常。
错误提示大致如下:
image

@YSMJ1994 YSMJ1994 merged commit 6ed80bf into alibaba-fusion:master Dec 26, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants