Should non-legacy decorators be transpiled? #367
-
|
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.
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.
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!