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

feat: provide a filesize measure method. #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdryanovski
Copy link

A way to measure the filesize of a file without making any additional
compression and transformation on it.

Prefer use will be, measuring the filesize of already minified files like
styles or comparing different bundles without doing the trasformation
again.

This method try to return what the OS Filesystem sees - may be a bit
different across multiple filesystems like FAT, AFAS, EXT3...

Signed-off-by: Bozhidar Dryanovski [email protected]

  A way to measure the filesize of a file without making any additional
  compression and transformation on it.

  Prefer use will be, measuring the filesize of already minified files like
  styles or comparing different bundles without doing the trasformation
  again.

  This method try to return what the OS Filesystem sees - may be a bit
  different across multiple filesystems like FAT, AFAS, EXT3...

Signed-off-by: Bozhidar Dryanovski <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant