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
fix: TypeScript require() now tries extensions for paths with non-standard suffixes (e.g., environment.TEST)
- Fixed require() wrapper to only treat known extensions (.js, .cjs, .mjs, .json, .node) as real extensions
- Paths like './environments/environment.TEST' will now try .TEST.js, .TEST.cjs, etc.
- Previously, .TEST was treated as an extension, blocking the extension probe logic
- Added test case for require() with dynamic environment-based paths
- Bumped version to 4.0.0-beta.17
0 commit comments