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

Support resolveGlobals options to fix wrong import #16045

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

letanloc1998
Copy link

Q                       A
Fixed Issues? Fixes #13747, Fixes
Patch: Bug Fix? Yes
Major: Breaking Change? No
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes? No
License MIT

Add new option to resolve wrong import.
More details: #13747

This issue happened in a long time, I faced the issue when trying to use babel standalone and I found the question on stack overflow but no answer until now: https://stackoverflow.com/questions/59211788/babel-standalone-react-import-statement-resolves-to-wrong-file

@babel-bot
Copy link
Collaborator

babel-bot commented Oct 13, 2023

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/55682/

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.

[Bug]: [Babel standalone import error]
2 participants