Transformer
Features
- Lowering ESNext to ES2015.
- Transforming TypeScript to JavaScript.
- Transforming JSX to JavaScript, with built-in React Refresh.
- Built-in support for popular plugins like styled-components.
- TypeScript Isolated Declarations Emit without using the TypeScript compiler.
Installation
Node.js
- Use the node binding oxc-transform.
- Try on stackblitz.
Rust
Use the umbrella crate oxc with the transformer
feature.
Rust usage example can be found here.