mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
15 lines
422 B
Markdown
15 lines
422 B
Markdown
# oxc-transform-react-upstream
|
|
|
|
Private, host-only N-API benchmark harness for `oxc_react_compiler_upstream`. It exposes only:
|
|
|
|
```ts
|
|
transformSync(filename: string, sourceText: string): {
|
|
fatal: boolean;
|
|
code: string;
|
|
errors: OxcError[];
|
|
};
|
|
```
|
|
|
|
The pipeline targets React 19, preserves JSX, strips TypeScript, and omits source maps. These fixed
|
|
settings match the transform-only comparison in `bench-transformer`.
|