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

Make sure that imports are properly scoped to directories that are requested from #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

barcicki
Copy link

This PR fixes the case were there're same-sounding imports used in different paths.

There's sample scenario in conflicts directory in tests. It contains 2 subdirectories with same-sounding index.js that imports all nested files (export * as default from './cases/*.js';), but they contain completely different set of files.

Without the change, both the imports equals to contents of files from the later directory.

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

1 participant