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

implement safe-alphabetically #55

Closed
alexander-akait opened this issue Jul 4, 2018 · 2 comments
Closed

implement safe-alphabetically #55

alexander-akait opened this issue Jul 4, 2018 · 2 comments

Comments

@alexander-akait
Copy link

Using alphabetically has side effect (cssnano/cssnano#535).
Input:

.bounce {
	animation-name: bounce;
	animation: bounce2 1s ease;
	z-index: 1442;
}

Output:

.bounce{
	animation: bounce2 1s ease;
	animation-name: bounce;
	z-index:1442
}

It is break code. Looks only animation-*, list-style-*, grid-*, counter-* are affected.

@Siilwyn
Copy link
Owner

Siilwyn commented Jul 5, 2018

It looks like a contrived example but I understand the need to be on the safe side. Would it be an idea for me to create a safe-alphabetically custom order and open a PR for it at cssnano?

@alexander-akait
Copy link
Author

@Siilwyn yep, will be great 👍

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

2 participants