Closed DASPRiD closed 2 months ago
https://stackblitz.com/edit/node-wp3mk9
v4.9.1
v20.12.2
pnpm
Linux
TSX v4.9.1 introduced a regression when trying to load .ts config files for MikroORM. This was working fine so far, including v.4.9.0. I only see a single commit for v4.9.1, so that one must have introduced the regression:
https://github.com/privatenumber/tsx/commit/96bc59680c7300ab6f4f740da26fa16e1970c7c0
Thanks for the report!
I guess we didn't have a test to cover this use case. Would you mind opening a PR with a test (& fix if youre able to)?
Based on the reproduction, looks like this was addressed via #544
Acknowledgements
Minimal reproduction URL
https://stackblitz.com/edit/node-wp3mk9
Version
v4.9.1
Node.js version
v20.12.2
Package manager
pnpm
Operating system
Linux
Problem & expected behavior (under 200 words)
TSX v4.9.1 introduced a regression when trying to load .ts config files for MikroORM. This was working fine so far, including v.4.9.0. I only see a single commit for v4.9.1, so that one must have introduced the regression:
https://github.com/privatenumber/tsx/commit/96bc59680c7300ab6f4f740da26fa16e1970c7c0
Contributions