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

minifier: remove duplicate selectors #240

Open
yisibl opened this issue Jul 22, 2022 · 6 comments · May be fixed by #696
Open

minifier: remove duplicate selectors #240

yisibl opened this issue Jul 22, 2022 · 6 comments · May be fixed by #696
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@devongovett
Copy link
Member

Seems reasonable. When does this happen in real-world code though?

@devongovett devongovett added enhancement New feature or request good first issue Good for newcomers labels Jul 31, 2022
@yisibl
Copy link
Contributor Author

yisibl commented Aug 17, 2022

Seems reasonable. When does this happen in real-world code though?

I'm not quite sure if there might be such a code, my guess is that it might be a clerical error or generated by the preprocessor.

@LeoniePhiline
Copy link
Contributor

I'd like to take a look at this one.

@LeoniePhiline
Copy link
Contributor

I won't manage currently to work on this. Free to take!

@R-Bower
Copy link

R-Bower commented Mar 17, 2023

For anybody still looking for a solution here, I've managed to combine cssnano and postcss-lightningcss to achieve the desired result. Note that this will require postcss.

@qsliu2017
Copy link

I'd like to have a try

@qsliu2017 qsliu2017 linked a pull request Mar 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants