Skip to content

fix: import a package module with "exports" causing "Cannot not find module" #590

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

Closed
wants to merge 2 commits into from

Conversation

1aron
Copy link

@1aron 1aron commented Jan 26, 2024

Fixed #589

I only did a few things:

  • Changed import-from-esm back to import-from and passed existing tests.
  • Added a package conventional-changelog-techor with "exports" section as a development test and added a related test.

@travi
Copy link
Member

travi commented Jan 26, 2024

sorry, we will not be switching back to import-from. moving to import-from-esm overcame additional needs that we had within the project that import-from does not satisfy

@travi travi closed this Jan 26, 2024
@1aron
Copy link
Author

1aron commented Jan 26, 2024

@travi Thank you for your efforts. I'm just providing a quick solution, and it's up to you guys to weigh in and incorporate it at any time.

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.

Cannot find module 'conventional-changelog-*'
2 participants