Transformer β
The Oxc transformer is responsible for converting higher versions of ECMAScript and TypeScript to lower versions that can run in older browsers and environments.
Repository Structure β
crates/oxc_transformer/
βββ src/
β βββ lib.rs # Main transformer interface
β βββ transformer.rs # Core transformation logic
β βββ typescript/ # TypeScript transformations
β βββ jsx/ # JSX transformations
β βββ es2015/ # ES2015+ transformations
β βββ isolated_declarations/ # .d.ts generation
β βββ helpers/ # Utility functions
βββ tests/ # Integration tests
βββ examples/ # Usage examples
βββ benches/ # Performance benchmarks