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

[Feature Request] An option to print out the stripped selectors and the css file size reduction #55

Closed
danielcardoso5 opened this issue Feb 16, 2018 · 2 comments

Comments

@danielcardoso5
Copy link

One of the features purifycss has is the option to print out the selectors that were removed and the reduction in file size it made on the css file. This is present in their Gulp plugin.

@danielcardoso5 danielcardoso5 changed the title [Request] An option to print out the stripped selectors and the css file size reduction [Feature Request] An option to print out the stripped selectors and the css file size reduction Feb 16, 2018
@garygreen
Copy link

garygreen commented Apr 21, 2018

I was looking for similar functionality - sometimes it's not always possible to test absolutely everything on your site to see if everything looks good. It could be more practical scan through the removed list to see if there's anything obviously wrong.

@Ffloriel
Copy link
Member

A new version has been released. There's now a rejected option to get the list of removed selectors. However, I believe being able to see the size file should not be part of purgecss. If you are looking to get css size file, you can get the size file before and after using purgecss from your build code or external packages.
I'll now close this issue, let me know if something does not work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants