Skip to content

Conversation

@Timeless0911
Copy link
Contributor

Summary

This PR fix some cases about redirect.dts.extension:

  1. When path is not redirected to a absolute/relative path (maybe redirect.dts.path: false is set), we should not add extension.
  2. When path is redirected to ./, we should remove the / prefix first
  3. When path is redirected to entry of itself via paths in tsconfig.json, we should get correct value of isOutsideRootdir to make the path redirect to correct relative path from root.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Timeless0911 Timeless0911 enabled auto-merge (squash) April 21, 2025 12:33
@Timeless0911 Timeless0911 merged commit 6a5574d into main Apr 21, 2025
14 checks passed
@Timeless0911 Timeless0911 deleted the fix/self-ref branch April 21, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants