Package Version = react-native-bundle-visualizer@3.1.1
Node Version = 14.18.0
Npm Version = 6.14.15
Fix
I tried updating this line to console bundle.files[file].size instead and the output was presented correctly as expected.
I did not dive into why this happens or if I am able to get the same on a different node version. But just found something and thought I should let people know here.
I'll update here once I have some time to check on different node versions.
Thanks for reporting that here @choubeyaakash77 .
It might be an issue with the verbose option indeed. Yeah if you could check other node versions, that would be great!
Steps to repro
I am running this line. I tried
--verbose
option for more visibility on numbers in cli.With this, I was getting size field like this
Configuration
Fix
I tried updating this line to console
bundle.files[file].size
instead and the output was presented correctly as expected.I did not dive into why this happens or if I am able to get the same on a different node version. But just found something and thought I should let people know here. I'll update here once I have some time to check on different node versions.