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

CSS minification in :not() #27

Closed
ShockedPlot7560 opened this issue Feb 8, 2022 · 3 comments
Closed

CSS minification in :not() #27

ShockedPlot7560 opened this issue Feb 8, 2022 · 3 comments
Assignees

Comments

@ShockedPlot7560
Copy link

ShockedPlot7560 commented Feb 8, 2022

Currently, all spaces in the :not() function are removed, breaking most conditions. Example:

ul > li:not(.class ul > li, .another-class ul > li) {
        display: none;
}

will become :

ul>li:not(.classul>li,.another-classsul>li){display:none;}
@nizarmah
Copy link
Owner

nizarmah commented Mar 7, 2024

Oh. I never had that use case.

Thanks for reporting it.
I'll make sure to address it.

I need some time, though.
Ironic, saying it after 2 years. I know.

@nizarmah
Copy link
Owner

nizarmah commented Mar 19, 2024

Hey! Small update regarding this: the issue was with Clean CSS.

Clean CSS was updated in #40 which fixed this issue.
Lightning CSS, added in #36, also resolves this issue.

I haven't created the release yet, but it'll resolve this issue.
I'll update the thread by the end of this week when I do.

@nizarmah nizarmah self-assigned this Mar 19, 2024
@nizarmah
Copy link
Owner

Hello again @ShockedPlot7560. Thanks again for reporting this btw!

I've released v3, which contains the fix. I'm closing this.

Don't hesitate to open a new issue if you run into any issues.
This time I assure you the response time will be much better 😅.

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