> 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.
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.
johnfn•1h 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!
brandensilva•59m ago
Man the perf changes for this version are awesome. Thanks Vite.
pkilgore•44m ago
Congratulations!
hackernewsman71•11m ago
holy shit - Vite 8 - rhymes in french! Did they mention that somewhere?
soulchild77•10m ago
Awesome! Too bad Next.js will never profit from these incredible community efforts, because Vercel suffers from NIH.
verma_yatharth•7m ago
I tried it and I saw more than 6x improvement in speed.
It's on the top. Awesome tool 1
slopinthebag•1h ago
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•42m ago
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.