rbtech / css-purge

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
http://rbtech.github.io/css-purge
MIT License
125 stars 19 forks source link

Wrong file size after and saved #50

Open lusiakpurnama opened 4 years ago

lusiakpurnama commented 4 years ago

I'm using gulp-css-purge v3.0.9. In package-lock.json css-purge installed is v3.1.8. When I use the verbose options, it gives me:

Before: 382.765KB
After: 0.33931KB
Saved: 382.4257KB (99.91%)

But the file after purged is 339KB, not 0.339KB

simoncrewe commented 1 year ago

Same here. Before: 565.296KB After: 0.283115KB Saved: 565.0129KB (99.95%) Purged Sat Jan 28 2023 10:55:58 GMT+0000 (Coordinated Universal Time) in : 2.654s

Files successfully purged to "dist/critical.css"

critical.css | Jan 28, 2023 10:56 AM | 276.5 KB | rw- r-- r-- | root | root