Skip to content

Fix @ aliases on Windows #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 3, 2025
Merged

Fix @ aliases on Windows #14

merged 2 commits into from
Aug 3, 2025

Conversation

skirtles-code
Copy link
Owner

On Windows, there is an inconsistency in the slashes used to separate path segments, leading to the startsWith check in customResolver failing. This problem only occurs for projects using @ aliases in conjunction with a playground or docs package.

This PR uses a different strategy to identify whether files are inside the librarySrc directory, which should work with different representations of the same path.

@skirtles-code skirtles-code merged commit 3955014 into main Aug 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant