Skip to content

fix(info): resolve workspace member mappings #26350

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 10 commits into from
Oct 18, 2024
Merged

Conversation

marvinhagemeister
Copy link
Contributor

@marvinhagemeister marvinhagemeister commented Oct 17, 2024

This PR fixes the issue where mapped specifiers in a workspace member would never be found. Only mapped paths from the workspace root would resolve.

This was caused by always passing the workspace root url to the import map resolver instead of the workspace member one.

Fixes #26138
Fixes denoland/fresh#2615

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@marvinhagemeister marvinhagemeister merged commit 0e60bb9 into main Oct 18, 2024
17 checks passed
@marvinhagemeister marvinhagemeister deleted the fix-info-workspace branch October 18, 2024 19:45
bartlomieju pushed a commit that referenced this pull request Oct 25, 2024
This PR fixes the issue where mapped specifiers in a workspace member
would never be found. Only mapped paths from the workspace root would
resolve.

This was caused by always passing the workspace root url to the import
map resolver instead of the workspace member one.

Fixes #26138
Fixes denoland/fresh#2615

---------

Signed-off-by: Marvin Hagemeister <[email protected]>
Co-authored-by: David Sherret <[email protected]>
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.

vite can't resolve local module in deno workspace from a node project islands adapt deno workspace
2 participants