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

Support tsconfig "paths" runtime module resolution #72

Closed
gamedevsam opened this issue Feb 27, 2021 · 1 comment
Closed

Support tsconfig "paths" runtime module resolution #72

gamedevsam opened this issue Feb 27, 2021 · 1 comment

Comments

@gamedevsam
Copy link

Describe your idea for a new feature

In order to support TypeScript's "paths" config option, this project should load tsconfig-paths/register when loading ts files: https://www.npmjs.com/package/tsconfig-paths

Explain the problem your idea is trying to solve

Currently projects that leverage the paths typescript configuration cannot use interpret successfully.

How will it benefit gulp and its users?

It will improve TypeScript compatibility by supporting the "paths" config option.

If this feature could exist outside of gulp (like as a plugin or a module), would you be interested in helping to create and maintain it?

No time... sorry.

@phated
Copy link
Member

phated commented Feb 27, 2021

Why isn't that just upstreamed into ts-node if it is an official feature of typescript? I'd prefer this to be in the tool where it belongs.

@phated phated closed this as completed Feb 27, 2021
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

No branches or pull requests

2 participants