Use babel-node instead of ts-node when running benchmark script

Summary:
`ts-node` does transformation using tsc. Do transformation with Babel instead so that the generation is consistent with Jest and the packed output.

We still need `ts-node` around since various systems rely on it being present to enable `.ts` config files.

This also enables transformation of any JS files.

Reviewed By: yungsters

Differential Revision: D45722106

fbshipit-source-id: 51b7a4f6a1532bea1133d59e626297d3b40f1762
This commit is contained in:
Nick Gerleman
2023-05-10 17:12:10 -07:00
committed by Facebook GitHub Bot
parent 82096a1465
commit e409bfb43a
3 changed files with 591 additions and 362 deletions

File diff suppressed because it is too large Load Diff