mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* 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