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: import() in CommonJS & resolve virtual file extensions #43

Merged
merged 4 commits into from
Nov 28, 2022

Conversation

lukeed
Copy link
Owner

@lukeed lukeed commented Nov 27, 2022

Related features

Closes #27
Closes #28
Closes #33

- attempt to load ".ts", ".jsx" or ".tsx" file when `import` to ".js" does not exist
- attempt to load ".mts" file when `import` to ".mjs" does not exist
- attempt to load ".cts" file when `import` to ".cjs" does not exist
- attempt to load ".tsx" file when `import` to ".jsx" does not exist
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.

[Feature]: support dynamic import by default
1 participant