Vite 8.0 Is Out
vite.dev
Vite 8.0 Is Out
1–10 of 216 posts
Re: Vite 8.0 Is Out
#2Does 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.
Re: Vite 8.0 Is Out
#3Re: Vite 8.0 Is Out
#4Re: Vite 8.0 Is Out
#5Re: Vite 8.0 Is Out
#6> 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.
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.
Re: Vite 8.0 Is Out
#7Re: Vite 8.0 Is Out
#8Re: Vite 8.0 Is Out
#9Re: Vite 8.0 Is Out
#10> 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.
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…
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.