Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

fixes#61, fixes esbuild-kit/tsx#135: Remove preexisting extensions when trying extensions #80

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cbetori
Copy link

@cbetori cbetori commented Sep 25, 2023

When attempting to resolve file extensions we should remove preexisting extensions.
This resolves importing a typescript file into a javascript file while using a .js extensions. This matches ts-node behavior and follows typescript guidance to import typescript files with the .js extension.

@cbetori cbetori changed the title Remove preexisting extensions when trying extensions fixes#61, fixes esbuild-kit/tsx#135: Remove preexisting extensions when trying extensions Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant