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

bugfix/intra-package-imports #2

Merged
merged 2 commits into from
Dec 3, 2020
Merged

Conversation

gthmb
Copy link
Contributor

@gthmb gthmb commented Dec 2, 2020

enhanced the replace logic with a regexp capture group to allow for replacing not just the declare statements, but also any intra-package import statements

this fixes an issue we saw where a default exported component was referencing an imported interface, and that interface was not being resolved correctly after we mutated the package name to conform to the federated scope.

…eplacing not just the declare statements, but also any intra-package import statements
@gthmb gthmb requested a review from wkruddy December 2, 2020 23:57
Copy link

@wkruddy wkruddy left a comment

Choose a reason for hiding this comment

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

Nice! Clean 💯

@gthmb gthmb merged commit 4c9b09b into main Dec 3, 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.

None yet

2 participants