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

Use rewriteRelativeImportExtensions TS option #138

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

Conversation

aduh95
Copy link

@aduh95 aduh95 commented Oct 19, 2024

This option allows to use the library with Node.js new --experimental-strip-types CLI flag, allowing to removing ts-node from the dependencies. It also makes npm run build produce .js files that can be consumed by Node.js (even without the experimental flag), which is my actual motivation for this PR.

More info: https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/#path-rewriting-for-relative-paths

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