SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 117 JavaScript

[rust-compiler] Fix OXC frontend compilation and e2e test failures

Fix three issues in the OXC frontend that caused 1513/1717 e2e test failures:

1. Two-step JSON deserialization to handle duplicate "type" keys (matching SWC approach)
2. Force module source type for .js files (matching SWC's parse_file_as_module behavior)
3. Comment preservation by re-parsing source and attaching comments to compiled output

OXC e2e results: 204 → 606 passing.
J
Joe Savona committed
9507cbc8b31b636f28ee3bc5169cb78717dd3d0e
Parent: bed0a9a