Skip to content

File sizes appear larger in visualizer than in reality #8

@toBeOfUse

Description

@toBeOfUse

The file sizes shown in the visualizer are larger than the ones reported by Vite on the command line or that show up on disk after building. To see this, you can just clone vitesse, install its packages, and run vite-bundle-visualizer for it.

On the command line, a file size of 153kb is shown for the main javascript asset:

image

Similarly, on disk, the file appears to be 150kb:

image

But in the visualizer, the same file (with the same hash in the name, so it should have the same contents) is reported to be 461kb:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions