Will Vite 8 support TC39 syntax for auto-accessors with legacy decorators? #21672
Unanswered
filimon-danopoulos-stratsys
asked this question in
Q&A
Replies: 1 comment
-
|
I've made an issue in oxc repo: oxc-project/oxc#20133 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I maintain a large design system written in Lit that was previously build entirely with TSC. We utilize TSC legacy decorators but with the following syntax:
Lit's decorators are compatible with both the TC39 proposed syntax and TypeScript's legacy decorators. We used to build using
When trying to migrate to Vite 8 I am essentially blocked by this. Judging by the migration docs and oxc-project/oxc#9170 it seems like Vite 8 will be unusable for any project that uses legacy decorators?
Seems strange to not support a very common use case that we could build with esbuild and tsc. Could we get a clarification on what the stance is here? Note that I don't ask about standard decorators but legacy decorators and the accessor keyword.
Beta Was this translation helpful? Give feedback.
All reactions