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

Improve support for import identifiers, fixes #69 #70

Merged
merged 2 commits into from
Sep 10, 2021

Conversation

jdlm-stripe
Copy link
Contributor

This PR fixes #69 by returning early during identifier traversal if it matches an ES module default or named import. I'm open to feedback if there's anything you think I missed!

@ryan-roemer
Copy link
Member

Thanks for this! We'll look into this one probably next week? (I'm on PTO)

@jdlm-stripe
Copy link
Contributor Author

Sounds good! Thanks for the response :)

@ryan-roemer ryan-roemer merged commit 7a99427 into FormidableLabs:master Sep 10, 2021
@ryan-roemer
Copy link
Member

Released in babel-plugin-transform-define@2.0.1. Thanks @jdlm-stripe !

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.

ES module identifier imports throwing
2 participants