Skip to content

fix: cssnano sorts css properties alphabetically#6565

Merged
ryanseddon merged 2 commits into
mainfrom
ryan/KZN-3975/cssnano-sorting-css-properties
Apr 10, 2026
Merged

fix: cssnano sorts css properties alphabetically#6565
ryanseddon merged 2 commits into
mainfrom
ryan/KZN-3975/cssnano-sorting-css-properties

Conversation

@ryanseddon
Copy link
Copy Markdown
Contributor

Why

The current build was sorting css properties alphabetically, we don't want this as it caused a regression with our logical properties with use with non-logical properties

What

This came from the package-bundler upgrade where the rollup-plugin-styler plugin uses cssnano that defaults to sorting alphabetically which causes some rtl logical properties to sort before the non-logical properties, so we turn or sorting

This came from the package-bundler upgrade where the
rollup-plugin-styler plugin uses cssnano that defaults to sorting
alphabetically which causes some rtl logical properties to sort before
the non-logical properties, so we turn or sorting
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: ad74864

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kaizen/components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 10, 2026

✨ Here is your branch preview! ✨

Last updated for commit ad74864: chore: changeset

@ryanseddon ryanseddon merged commit ab9c9d7 into main Apr 10, 2026
21 checks passed
@ryanseddon ryanseddon deleted the ryan/KZN-3975/cssnano-sorting-css-properties branch April 10, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants