Skip to content
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

Fix sourcemap path problem #450

Merged
merged 2 commits into from
Oct 13, 2020
Merged

Fix sourcemap path problem #450

merged 2 commits into from
Oct 13, 2020

Conversation

yoyo930021
Copy link
Contributor

Fixed #444

This is my first time writing about golang.
I'm sorry if you have any questions.

@evanw
Copy link
Owner

evanw commented Oct 13, 2020

Thanks for the pull request. I agree that this should be fixed, although I don't think this is the best way to do it. Or at least the real situation is more complicated.

With the introduction of plugins there are also going to be modules that don't correspond to anything on disk at all. Attempting to interpret those module names as file system paths might lead to pretty confusing and incorrect results.

So I'm going to land this now but I may change this and/or rewrite it in the future to better support additional use cases.

@evanw evanw merged commit 351e7e7 into evanw:master Oct 13, 2020
evanw added a commit that referenced this pull request Oct 13, 2020
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.

sourcemap path problem
2 participants