You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this amazing tool! I’ve noticed a discrepancy when analyzing my app bundle using the visualizer. Specifically, the sizes reported in the generated bundle.json file differ significantly from the sizes displayed in the terminal output during the build process.
Could you explain why these size values differ? Is there a specific compression or transformation process that alters the numbers reported in the JSON compared to the terminal output?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered:
This is an upstream thing in rollup-plugin-visualizer, see btd/rollup-plugin-visualizer#96. Have you tested running vite-bundle-visualizer with the --sourcemap flag?
Hi,
Thank you for this amazing tool! I’ve noticed a discrepancy when analyzing my app bundle using the visualizer. Specifically, the sizes reported in the generated bundle.json file differ significantly from the sizes displayed in the terminal output during the build process.
For example:
From the terminal output:
Used Script:
npx vite-bundle-visualizer -o=./analyse/bundle.json -t='raw-data' -c vite.config.ts
From the bundle.json (parsed output):
How the file size was calculated:
Could you explain why these size values differ? Is there a specific compression or transformation process that alters the numbers reported in the JSON compared to the terminal output?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: