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
Allow order
option to be function
#64
Comments
Can you explain your plan, how will it handle cssnano/cssnano#580 (comment)? Do you want to have a list of |
@Siilwyn sort all properties, expect when shorthard after longhand and when longhand property after longhand with wrong order as in shorthanrd (i.e. |
Okay you would have to create a structure that contains the relation between those properties then. Looking forward to your idea. :) I have temporarily put the order as a function in a branch so you can try it out with |
@Siilwyn Thanks 👍 |
Breaking changes: No custom order JSON file can be provided anymore instead a function is expected. The default sorting order is renamed to 'alphabetical'. Closes #64
Breaking changes: No custom order JSON file can be provided anymore instead a function is expected. The default sorting order is renamed to 'alphabetical'. Closes #64
Breaking changes: No custom order JSON file can be provided anymore instead a function is expected. The default sorting order is renamed to 'alphabetical'. Closes #64
Require to solve cssnano/cssnano#535, we should avoid to sort
shorthand
properties if long property will be defined above. Can we implement this asap?The text was updated successfully, but these errors were encountered: