Vite 8.0 Is Out

(vite.dev)

130 points | by kothariji 2 hours ago ago

9 comments

  • soulchild77 11 minutes ago

    Awesome! Too bad Next.js will never profit from these incredible community efforts, because Vercel suffers from NIH.

  • johnfn an hour ago

    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!

  • verma_yatharth 8 minutes ago

    I tried it and I saw more than 6x improvement in speed. It's on the top. Awesome tool 1

  • brandensilva an hour ago

    Man the perf changes for this version are awesome. Thanks Vite.

  • pkilgore an hour ago

    Congratulations!

  • slopinthebag 2 hours ago

    > 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.

    • ameliaquining 43 minutes ago

      Yes, those work fine: https://playground.oxc.rs/?options=%7B%22run%22%3A%7B%22lint...

      For that matter, TypeScript's version of decorators ("experimental decorators") also works: https://playground.oxc.rs/?options=%7B%22run%22%3A%7B%22lint...

      What's not supported is the current draft proposal for standardized ECMAScript decorators; if you uncheck experimentalDecorators, the decorator syntax is simply passed through as-is, even when lowering to ES2015.

      • slopinthebag 5 minutes ago

        Awesome. Standard decorators support is not a dealbreaker for me, but enums and other types of non-erasable syntax would be.

        Do you know what the status is on using Rolldown as a crate for rust usage? At the moment most rust projects use SWC but afaik its bundler is depreciated. I usually just call into Deno for builds but would be nice to have it all purely in Rust.

  • hackernewsman71 12 minutes ago

    holy shit - Vite 8 - rhymes in french! Did they mention that somewhere?