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

Default sourceDirectory forces imports from index #4

Open
anand-sundaram-zocdoc opened this issue Aug 6, 2019 · 0 comments
Open

Default sourceDirectory forces imports from index #4

anand-sundaram-zocdoc opened this issue Aug 6, 2019 · 0 comments

Comments

@anand-sundaram-zocdoc
Copy link

entry = `${sourceDirectory}/index`
causes it to be the case that if I want to import from myPackage/src/notIndexFile.js this is impossible; I must export everything from the index and import directly from there. if we did not include index in the string, I believe everything would still work that wants to import from index by default, but it would also be possible to import from other files and folders in the 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

No branches or pull requests

1 participant