Display difference from the previous build in filesize
See original GitHub issueUpdate: The issue is claimed by @elijahmanor.
Seems like a nice thing to do.
We can read the files before clearing the build
folder.
It could look like this:
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
48.73 KB (+2.12 KB) build/static/js/main.42e82b08.js
289 B build/static/css/main.9a0fe4f1.css
(Right now we display the build size but not the delta.)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Compare previous file size with the current filesize and flag
In order to compare the previous file size with the current file size you need to use a comparison operator ( < ,...
Read more >Size vs Size on Disk - Why is there a difference?
It doesn't matter how small the actual file size is because when a file is written on the hard drive, it occupies a...
Read more >filesize - Visual Studio Marketplace
This package is intended for use with the Visual Studio Code editor and it displays the size of the focused file in the...
Read more >File Size Difference with Different Data Source Type
Solved: Hello, I have same data in two kind of source: one Synapse Analytics with SQL View and one in Azure Storage with...
Read more >filesize - Manual - PHP
Here is my super fast method of getting >2GB files to output the correct byte size on any version of windows works with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can work on that tonight
yes, that is the route that I took tonight… recursively found files in build folder and removed the hashes to build an object map of previous sizes that can be used later on to compare delta sizes.