Skip to content

Vite 8 doubled filesize #21939

@repulsio

Description

@repulsio

Describe the bug

So sad that Vite 8 now builds an index.js of size 1.5 MB, when it used to be 951 KB in Vite 7.3.1...

The only thing I changed for my project was updating Vite from 7.3.1 to 8.

What happened? Is it no longer checking code paths and just blindly including everything?


Reading the release notes, it seems that Vite 8 should now build faster with rolldown, but no build speed gain is worth increasing the filesize by so much - it's so critical to keep web filesizes as low as possible for fast load times...

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions