You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note, I've just updated the reproduction repo to compare with the equivalent non-TSX Node.js behaviour which uses sourcemaps correctly, so surprisingly it is only happening with TSX.
On the other hand I've just compared the behaviour with the ESM Loader usage, and it looks like it is caused by ESM Loader, so I'll raise it there instead.
Problem
Dependency files that:
show up in Error stack traces:
.js
extension (as opposed to.ts
)i.e. their source maps are ignored.
Expected behavior
All dependency files that has sourcemaps associated should show up in Error stack traces with their original path, extension and line numbers.
Minimal reproduction URL
https://github.com/BenceSzalai/tsx-sm-issue
Version
v3.12.7
Node.js version
v18.17.0 / v20.5.1
Package manager
npm
Operating system
macOS
Contributions
The text was updated successfully, but these errors were encountered: