Hacker News new | past | comments | ask | show | jobs | submit

Vite 8.0 Is Out

https://vite.dev/blog/announcing-vite8
Yeah, it makes you wonder how much computing power the industry has wasted over the years on tools that nobody questioned because "that's just how long builds take." We planned our work around it, joked about creating breaks, and built entire caching layers to work around it.

Kudos to the Vite maintainers!

loading story #47363125
loading story #47363029
loading story #47365877
Very pleased to see such performance improvements in the era of Electron shit and general contempt for users' computers. One of the projects I'm working on has been going for many years (since before React hooks were introduced), and I remember building it back in the day with tooling that was considered standard at the time (vanilla react-scripts, assembled around Webpack). It look maybe two minutes on a decent developer desktop, and old slow CI servers were even worse. Now Vite 8 builds it in about a second on comparable hardware. Another demonstration of how much resources we're collectively wasting.
loading story #47363143
loading story #47361997
Vite 8 is pretty incredible. We saw around an 8x improvement (4m -> 30s) in our prod build, and it was nearly a drop-in replacement. Congrats (and thank you!) to the Vite team!
loading story #47361806
loading story #47361744
loading story #47362016
Thanks to the Vite team for building a faster, modern bundling solution on a fully open source stack that isn't tied to a specific framework...cough cough, Turbopack
loading story #47363403
Awesome! Too bad Next.js will never profit from these incredible community efforts, because Vercel suffers from NIH.
loading story #47361658
loading story #47361426
loading story #47361455
loading story #47361423
loading story #47364372
As I am interesting in long time maintainability (should still work in 10 years) with my projects I am just using esbuild directly. I am not interested in adjusting my projects, just because things changed under the hood in "wrappers" like Vite and I suddenly have a lot of work.
loading story #47364563
> Built-in tsconfig paths support

A great QoL change. One less place to duplicate (and potentially mistake) a config.

Ah, wondering how long it will take Angular to replace it's sh*t building tool chain to fully vite compatible, hope it could happen before I change may career path or retire.
I've been using rolldown-vite for the past 3-4 months with absolutely no issues on a very large monorepo with SvelteKit, multiple TS services and custom packages.

Just upgraded to 8 with some version bumping. Dev server time reduced to 1.5s from 8s and build reduced to 35s from 2m30. Really really impressed.

loading story #47364383
Sweet, great job Vite team!

I wonder how much of the Rollup bundling magic has been ported to Rolldown.

One thing that always made this kind of switch to Rust has always been that Rollup has become so sophisticated that's hard to replace with something new.

Man the perf changes for this version are awesome. Thanks Vite.
loading story #47361577
Yesterday I stopped hating AI because it converted an old webpack project with impenetrable plugin settings to a single simple Vite config.

I still don't understand how people used to think scripts like this are the proper way to bundle an app.

https://github.com/facebook/create-react-app/blob/main/packa...

vite is great, is all I am saying

Awesome! been using Vite since its early days. really excited to see how it's improving the JavaScript and TypeScript tooling landscape and how it continues to evolve
Outsider question: why use Rollup when Esbuild exist? Is esbuild not enough for production builds?
loading story #47362579
> Currently, the Oxc transformer does not support lowering native decorators as we are waiting for the specification to progress

Does Oxc also support TS runtime features like constructor parameter properties and enums? I seem to recall in the beta that they had enabled --erasableSyntaxOnly, presumably because Rolldown / Oxc didn't support doing a full transform.

loading story #47361224
Migrating straight away! Thank you!
I tried it and I saw more than 6x improvement in speed. It's on the top. Awesome tool 1
holy shit - Vite 8 - rhymes in french! Did they mention that somewhere?
loading story #47365146
Another rewrite in Rust.

What about finally stop using node.js for server side development?

loading story #47361727
loading story #47362030
loading story #47361694
loading story #47361535
loading story #47362038