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

fix: use Deno's native TS support #2775

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

Conversation

marvinhagemeister
Copy link

@marvinhagemeister marvinhagemeister commented Aug 9, 2024

This PR skips registering the esbuild loader when Deno is detected. Deno supports running TypeScript code natively and doesn't need the loader.

I've updated the require calls to use import() instead as using require is not valid in ESM contexts. It only worked when the esbuild loader was present.

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.

1 participant