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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please Consider cssnano Instead of clean-css #174

Open
shellscape opened this issue Nov 25, 2023 · 3 comments
Open

Please Consider cssnano Instead of clean-css #174

shellscape opened this issue Nov 25, 2023 · 3 comments

Comments

@shellscape
Copy link

馃憢 I'm working on a project that leverages html-minifier-terser and have long been a fan of the project. Unfortunately, it's using clean-css which has been unmaintained for some time now and the owner hasn't had time to give it bugfix updates in a while.

cssnano has been enjoying a lot of active development, and is built atop postcss which has a pretty proven track record. Postcss uses a tokenizer just as clean-css does, but somewhat more efficient, which should mean a speed boost. https://github.com/cssnano/cssnano

Would the project consider swapping clean-css for cssnano?

@sibiraj-s
Copy link
Collaborator

sibiraj-s commented Nov 25, 2023

I am thinking about lightningcss recently. Haven't evaluated that yet

https://lightningcss.dev/minification.html

@shellscape
Copy link
Author

Rust speed is awesome. Unfortunately that'll also likely mean I won't be able to use it, as my project does run in browsers as well as the server and edge workers..

@sibiraj-s
Copy link
Collaborator

It ships a wasm library to run in browsers as well https://lightningcss.dev/docs.html#from-deno-or-in-browser.

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