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
feat(css/minifier): merge rules #6220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_css_minifier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rebase again to exclude unrelated commits?
@kdy1 Yeah, WIP on this, my mistake |
3ead9a7
to
87b07be
Compare
@kdy1 Fixed |
Does the method in this PR also solve the various issues with the merge-rules implementation in cssnano (https://github.com/cssnano/cssnano/projects/5)? |
@ludofischer we don't implement the partial merging and browserslist based, so we don't have these problems right now (but yes, we will need to solve them in future) |
Description:
Merge the same rules + all tests from https://github.com/cssnano/cssnano/tree/master/packages/postcss-merge-rules
BREAKING CHANGE:
No
Related issue (if exists):
partial #5880, there are two todos to solve all cases: