Closed potench closed 1 year ago
The bundle-analyzer report is returning incorrect file size. 1kb = 1024 bytes but the report is returning as 1kb = 1000 bytes. Example
Rollup File Analysis ----------------------------- bundle size: 73.231 KB original size: 80.907 KB code reduction: 9.49 % module count: 36
Just change 1000 to 1024.
yarn test
Background
The bundle-analyzer report is returning incorrect file size. 1kb = 1024 bytes but the report is returning as 1kb = 1000 bytes. Example
ChatGPT confirms for file-size to use 1024kb
Solution
Just change 1000 to 1024.
Test Plan