fix(Core): 修复使用 css variable 模式构建时,主题包内的 varMap 配置值会被重复覆盖的问题 #5002
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
如题,构建工具使用sass-loader 配置 additionalData 引入主题包内的 variables.scss2css.scss 文件进行编译时, 该文件的 varMap 赋值会被scss 文件内的顶部的 @import "..../core/util/_varMap" 覆盖,导致编译异常。
错误提示大致如下: