-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Upon building Vite reports gzipped and uncompressed file sizes.
DevTools appears to show gzipped first, then in parenthesis the uncompressed size, but those numbers don't match what Vite reports.
This is reported by Vite:
This is a chunk size found in DevTools:
It doesn't match neither compressed nor uncompressed size.
Reproduction
https://github.com/silvenon/repro/tree/vite-devtools-sizes
gh repo clone silvenon/repro -b vite-devtools-sizes
cd repro
System Info
System:
OS: macOS 26.4
CPU: (8) arm64 Apple M1 Pro
Memory: 99.13 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.22.0 - /Users/silvenon/.n/bin/node
npm: 10.9.4 - /Users/silvenon/.n/bin/npm
pnpm: 10.23.0 - /Users/silvenon/.n/bin/pnpm
bun: 1.1.29 - /Users/silvenon/.bun/bin/bun
Deno: 1.45.2 - /opt/homebrew/bin/deno
Browsers:
Chrome: 146.0.7680.165
Firefox: 147.0.1
Safari: 26.4Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working