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

Avoid transpiling require in native ESM modules #66

Closed
pi0 opened this issue Jun 17, 2022 · 1 comment
Closed

Avoid transpiling require in native ESM modules #66

pi0 opened this issue Jun 17, 2022 · 1 comment

Comments

@pi0
Copy link
Member

pi0 commented Jun 17, 2022

Changing require signature in ESM files should be avoided. We can pass isNativeModule to the transformer top avoid CommonJS transform. (Related: #65)

@pi0
Copy link
Member Author

pi0 commented Sep 12, 2024

it is needed for require('.ts')

@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
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

2 participants