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

Combination of transition and transition-property is being built into a longer form #705

Open
dyc3 opened this issue Mar 22, 2024 · 0 comments

Comments

@dyc3
Copy link

dyc3 commented Mar 22, 2024

Certain combinations of transition properties get built into a longer form. I was able to get this behavior just from using lightningcss as a minifier.

Example input:

.foo {
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: height, width, transform, max-width, left, right, top, bottom, box-shadow;
}

Playground

If I could get a couple code pointers, I'd love to contribute a fix for it.

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

No branches or pull requests

1 participant