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 importing modules with path segments #30

Merged
merged 1 commit into from Jul 17, 2019

Conversation

LarsDenBakker
Copy link
Contributor

When you import a module with query parameters or hashes it incorrectly imports dependencies as it's trying to join the paths including the query parameters and hashes. Stripping them before resolving, just like with the page base path, fixes this.

Copy link
Owner

@guybedford guybedford left a comment

Choose a reason for hiding this comment

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

Looks great, thank you.

@guybedford guybedford merged commit 9422c03 into guybedford:master Jul 17, 2019
guybedford added a commit that referenced this pull request Jul 17, 2019
@guybedford
Copy link
Owner

Published in 0.2.14.

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.

None yet

2 participants