How to replace typescript::strip_with_jsx

In 1.3.89 typescript got overhauled and that removed typescript::strip_with_jsx. What should I do instead now?
2 Replies
w00t
w00tOP10mo ago
Or does strip just work? and related, I can't figure out how to enable decorator transform 😕 @kdy1 could I just have a short hint 🙏 ? I looked at the typescript example and it doesn't explain how to leave jsx tags unchanged nor how to do decorators or does it leave tags unchanged and you need to add the tsx transform to do both? Sorry I'm new to Rust and I'm trying to improve the Qwik optimizer
kdy1
kdy110mo ago
GitHub
swc/crates/swc/src/config/mod.rs at e23ba917afa2d49f564a1d4ba124f43...
swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. - magic-akari/swc

Did you find this page helpful?