Files
Huáng JùnliàngandGitHub 61ac501430 Improve TS babel config loading (#17392)
* fix: search babel.config.ts and babel.config.mts

* fix: improve error message when .mts is loaded

* add more test cases

* add tsx integration test

Also disabled the ts-node integration test because in Babel 8, we removed the fallbackToTranspiledModule flag in readConfig. However, when the `ts-node` is registered and then disabled, the `require.extensions[.mts]` hook is still alive, which complicated our ts-support detection

* test: extract ts-node & tsx integration tests

* disable tsconfig loading

* provide dummy TSX_TSCONFIG_PATH

* check node strip-types feature
2025-06-23 09:34:21 -04:00
..