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

Bun bundler incorrectly merges distinct CSS classes #15979

Open
lleqsnoom opened this issue Dec 24, 2024 · 0 comments
Open

Bun bundler incorrectly merges distinct CSS classes #15979

lleqsnoom opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@lleqsnoom
Copy link

lleqsnoom commented Dec 24, 2024

What version of Bun is running?

1.1.42+50eec0025

What platform is your computer?

Linux 6.10.14-linuxkit aarch64 unknown

What steps can reproduce the bug?

Description:
When bundling CSS files using Bun, distinct classes with different flex-direction properties are incorrectly merged, resulting in unintended styling.

Steps to Reproduce:

  1. Create a CSS file with the following content:
.flex-row-reverse {
    flex-direction: row-reverse;
}
.flex-col {
    flex-direction: column;
}

What is the expected behavior?

.flex-row-reverse {
    flex-direction: row-reverse;
}
.flex-col {
    flex-direction: column;
}

What do you see instead?

.flex-row-reverse, .flex-col {
    flex-direction: row-reverse;
}

Additional information

No response

@lleqsnoom lleqsnoom added bug Something isn't working needs triage labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant