Skip to content

Conversation

@Blankeos
Copy link
Owner

@Blankeos Blankeos commented Nov 3, 2025

It seamlessly works w/ dev. - Build for prod gets stuck though, but yeah it's quick.

Switching from Vite to Rolldown shows significant performance gains:

Speed improvements

  • Client builds: 393ms → 137ms (65% faster, 256ms saved)
  • SSR builds: 142ms → ??? (not working yet)

Consistently seeing a 10-20% delta in build times across runs.

All logs:

Vite (regular)
❯ bun run build
$ bunx --bun vike build
vite v7.1.11 building for production...

[vike][routegen] 🌳 Route Tree generated in (./src/route-tree.gen.ts).

✓ 175 modules transformed.
dist/client/.vite/manifest.json                                       2.53 kB │ gzip:  0.46 kB
dist/client/assets/chunks/chunk-gelYIj5u.js                           0.95 kB │ gzip:  0.55 kB
dist/client/assets/entries/src_pages_error.CY0aVy5x.js                1.69 kB │ gzip:  0.68 kB
dist/client/assets/entries/src_pages_dashboard.oFNdfii3.js            1.73 kB │ gzip:  0.62 kB
dist/client/assets/entries/src_pages_dashboard_settings.BOlPrVDO.js   1.74 kB │ gzip:  0.63 kB
dist/client/assets/entries/src_pages_index.BNT9ymZL.js                7.26 kB │ gzip:  3.03 kB
dist/client/assets/chunks/chunk-5-41uQhs.js                           9.62 kB │ gzip:  3.90 kB
dist/client/assets/chunks/chunk-H5FqD02w.js                          39.82 kB │ gzip: 13.90 kB
dist/client/assets/entries/entry-client-routing.BY-xQ5Sc.js          71.60 kB │ gzip: 22.73 kB
✓ built in 393ms
vite v7.1.11 building SSR bundle for production...

[vike][routegen] 🌳 Route Tree generated in (./src/route-tree.gen.ts).

✓ 41 modules transformed.
dist/server/package.json                               0.02 kB
dist/server/.vite/manifest.json                        2.62 kB
dist/server/bun-index.mjs                              0.14 kB
dist/server/chunks/chunk-BYE2DdRl.js                   1.11 kB
dist/server/entries/src_pages_dashboard.mjs            2.56 kB
dist/server/entries/src_pages_dashboard_settings.mjs   2.59 kB
dist/server/entries/src_pages_error.mjs                2.70 kB
dist/server/entries/src_pages_index.mjs                4.22 kB
dist/server/entry.mjs                                  6.00 kB
dist/server/chunks/chunk-D2TZ70Zx.js                  14.70 kB
dist/server/index.mjs                                 25.86 kB
✓ built in 142ms
Vite (rolldown)
❯ bun run build
$ bunx --bun vike build
rolldown-vite v7.1.20 building for production...

[vike][routegen] 🌳 Route Tree generated in (./src/route-tree.gen.ts).

✓ 175 modules transformed.
dist/client/.vite/manifest.json                                      2.44 kB │ gzip:  0.45 kB
dist/client/assets/chunks/chunk-DTEvckbq.js                          0.89 kB │ gzip:  0.49 kB
dist/client/assets/entries/src_pages_error.HYAdPAj6.js               1.62 kB │ gzip:  0.63 kB
dist/client/assets/entries/src_pages_dashboard.CGuGQHkS.js           1.66 kB │ gzip:  0.57 kB
dist/client/assets/entries/src_pages_dashboard_settings.DZOVgmkp.js  1.67 kB │ gzip:  0.58 kB
dist/client/assets/entries/src_pages_index.DrD-YAjl.js               7.12 kB │ gzip:  2.90 kB
dist/client/assets/chunks/chunk-5tVIz825.js                          17.68 kB │ gzip:  6.69 kB
dist/client/assets/chunks/chunk-DrEvt8D9.js                          42.11 kB │ gzip: 14.59 kB
dist/client/assets/entries/entry-client-routing.C6BtgGMn.js          64.40 kB │ gzip: 20.11 kB
✓ built in 137ms
rolldown-vite v7.1.20 building SSR bundle for production...

[vike][routegen] 🌳 Route Tree generated in (./src/route-tree.gen.ts).

- It seamlessly works w/ dev. - Build for prod gets stuck though, but
yeah it's quick.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants