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

[Bug] Package submodule treated as implicit index #139

Open
nonara opened this issue Sep 19, 2021 · 2 comments
Open

[Bug] Package submodule treated as implicit index #139

nonara opened this issue Sep 19, 2021 · 2 comments
Labels
Bug Something isn't working

Comments

@nonara
Copy link
Collaborator

nonara commented Sep 19, 2021

import debugCommon from "debug/src/common";

Resolves to: debug

@nonara nonara added the Bug Something isn't working label Sep 26, 2021
@ImanMh
Copy link

ImanMh commented Jan 25, 2022

@nonara it should be transformed to:

import debugCommon from "debug/src/common/{package.json.main}"; 

correct?

This is something that I'm struggling with, let me know if it's the same bug you are mentioning or I can create a separate issue for this.

@nonara
Copy link
Collaborator Author

nonara commented Jan 31, 2022

@ImanMh I believe this has to do with a package within a package. In this case, it should not transform.

Feel free to open a new issue, and I will have a look.

@nonara nonara changed the title Package submodule treated as implicit index [Bug] Package submodule treated as implicit index Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants