Skip to content

Commit 7b33452

Browse files
authored
docs: add install size section to Vite 8 post (#2495)
1 parent e3bd1ce commit 7b33452

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

blog/announcing-vite8.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ The Rolldown integration opens the door to improvements and optimizations. Here
129129

130130
- **Stabilizing the Environment API**: We are working to make the Environment API stable. The ecosystem has started regular meetings to better collaborate together.
131131

132+
## Install Size
133+
134+
We want to be transparent about changes to Vite's install size. Vite 8 is approximately 15 MB larger than Vite 7 on its own. This comes from two main sources:
135+
136+
- **~10 MB from lightningcss**: Previously an optional peer dependency, lightningcss is now a normal dependency to provide better CSS minification out of the box.
137+
- **~5 MB from Rolldown**: The Rolldown binary is larger than esbuild + Rollup mainly due to performance optimizations that favor speed over binary size.
138+
139+
We will continue monitoring and working to reduce install size as Rolldown matures.
140+
132141
## Migrating to Vite 8
133142

134143
For most projects, upgrading to Vite 8 should be a smooth process. We built a compatibility layer that auto-converts existing `esbuild` and `rollupOptions` configuration to their Rolldown and Oxc equivalents, so many projects will work without any config changes.

0 commit comments

Comments
 (0)