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

feat: add warn when request type bail from "module-import" #124

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

fi3ework
Copy link
Member

Summary

When using require to load an external module in ESM output, the require statement will adopt the module external type (the behavior of "module-import" external type). However, it can be challenging to identify the desired external type for the require statement. As a result, a warning will prompt the user to explicitly specify the correct external type.

Code 2024-08-26 12 54 20

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@fi3ework fi3ework changed the title feat: adapt "module-import" feat: add warn when request type bail from "module-import" Aug 26, 2024
@fi3ework fi3ework merged commit 122e022 into main Aug 26, 2024
7 checks passed
@fi3ework fi3ework deleted the module-import branch August 26, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants