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

suggestion: update ts-node to version 10 #267

Closed
benatshippabo opened this issue Jun 1, 2021 · 3 comments
Closed

suggestion: update ts-node to version 10 #267

benatshippabo opened this issue Jun 1, 2021 · 3 comments

Comments

@benatshippabo
Copy link

Issue description

Currently we are using version 9 for ts-node

"ts-node": "^9.0.0",

however version 10 comes with a few performance enhancements by enabling users to specify a third party TypeScript compiler like swc so it would be nice to have these options in ts-node-dev as well.

Context

@dbousamra
Copy link

Any update on this? What needs to happen to do this? We would benefit a lot from being able to use other transpilers.

@benatshippabo
Copy link
Author

benatshippabo commented Oct 29, 2021

@dbousamra There is also a duplicate ticket #286. I don't really see any breaking changes for ts-node >= 10.0.0 so I think it should be an easy pull request.

Some of the api has been deprecated, so we need to figure out how to handle:

  1. tsnode.split
  2. tsnode.DEFAULTS

I'm not sure how the options for ts-node-dev are forwarded though (maybe @wclr could chime in), so we may need to add one in for --transpiler.

Some alternatives I found for TypeScript development is vite and this plugin https://github.com/axe-me/vite-plugin-node

@benatshippabo
Copy link
Author

The latest version now has this feature

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