[Feature]: Allow usage of tsm instead of ts-node?
See original GitHub issue🚀 Feature Proposal
Jest allows for configuration in TypeScript via ts-node
:
It would be great to also enable support for tsm
Motivation
tsm
is lighter weight and faster thants-node
- if projects are already using
tsm
for other tasks, it would be nice to not have to also installts-node
only for Jest
Example
No response
Pitch
Not entirely sure I understand this field, but maybe:
It fits Jest’s ideology of being fast and enabling modern techniques
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Reduce RAM Consumption When Using ts-node - Aspecto
Running ts-node-dev / ts-node is constantly consuming hundreds of megabytes of RAM even for small applications - Here's how to handle it.
Read more >node.js - Different memory usage between compiled typescript ...
When I compile my typescript code, which is exactly the same as the vanilla javascript code, I get an increase in memory usage...
Read more >Performance issues · Issue #31 · TypeStrong/ts-node - GitHub
I'm working in rather large coffeescript/typescript codebase that takes ~40 seconds to compile (I'm not sure why it takes so long - that's...
Read more >Optimizing TypeScript Memory Usage - Swatinem
Hint: it is just all the ts internal lib files, plus all of @types/node . Ok, so far this is not really interesting,...
Read more >Node.js — Increase the Memory Limit for Your Process
The system process of Node.js starts your applications with a default memory limit. If you're going to run an application that saves a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Current thinking: https://github.com/facebook/jest/issues/13143#issuecomment-1249081951
I.e. allowing a user to specify which loader to use.
PR very much welcome!