Replies: 1 comment 3 replies
-
|
Transpilation of ecma decorators (non-legacy decorators) are not supported by Oxc yet. It would be nice if you can write the reason why you are using it in oxc-project/oxc#9170 so we can understand the usage. Thanks! |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hi!
I'm trying out rolldown-vite to see how it behaves compared to our existing vite setup, it seems much faster, but it passes decorators as-is without any transformation. I've seen discussions about legacy decorators, but we're not using those. I tried changing the target to various ES versions without success. Vite works out of the box, but I think it uses swc to transpile those, does it mean I should add a swc plugin to achieve the same result?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions