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: Replace tsimp with ts-node #679

Merged
merged 3 commits into from
Aug 30, 2024
Merged

fix: Replace tsimp with ts-node #679

merged 3 commits into from
Aug 30, 2024

Conversation

bennycode
Copy link
Owner

tsimp currently has some issues:

I am bringing back ts-node but I have to run tsc --noEmit before using ts-node as ts-node doesn't properly flag compile errors when being used with Node v20 and ESM:

We also have to use --loader ts-node/esm instead of ts-node-esm:

@bennycode bennycode merged commit a47239a into main Aug 30, 2024
3 checks passed
@bennycode bennycode deleted the bring-back-tsnode branch August 30, 2024 12:53
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