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(style-compiler): Adjusting the Postcss plugin order #1239

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

anotherso1a
Copy link
Collaborator

调整用户 postcss 插件的执行顺序。

修复问题:

当用户使用 postcss-css-variables 插件且将 preserve 设置为 true 时,会使内置插件中的 rpx 等带有注释处理功能的插件无法按预期方式执行。

image

通过将内置插件的执行顺序提前用以解决此问题。

@anotherso1a anotherso1a requested a review from hiyuki July 10, 2023 08:28
@hiyuki hiyuki merged commit 434b50b into master Jul 10, 2023
@hiyuki hiyuki deleted the fix_postcss_plugin branch July 10, 2023 09:09
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