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(babel-preset): remove duplicated styles from the generated metadata #554

Merged
merged 3 commits into from May 10, 2024

Conversation

YuanboXue-Amber
Copy link
Contributor

With styles like ...shorthands.padding(0), the metadata generated from babel-preset contains 6 css rules, with padding-left/padding-right duplicated. This PR removes the duplicate so the result will be 4 css rules as expected.

@YuanboXue-Amber YuanboXue-Amber requested a review from a team as a code owner May 9, 2024 14:10
Copy link

github-actions bot commented May 9, 2024

📊 Bundle size report

🤖 This report was generated against 2cb5dd0da0c20d526422fb463e61d1639cb64efe

@layershifter layershifter enabled auto-merge (squash) May 10, 2024 10:06
@YuanboXue-Amber YuanboXue-Amber merged commit 7e45352 into microsoft:main May 10, 2024
4 checks passed
@YuanboXue-Amber YuanboXue-Amber deleted the remove-dup branch May 10, 2024 10: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.

None yet

2 participants