Skip to content

Include node_module module #1544

Answered by cspotcode
peteringram0 asked this question in Q&A
Discussion options

You must be logged in to vote

You can try fiddling with the ignore option. UX here isn't great -- it's interpreted as a regular expression. Probably best to declare it in your tsconfig.json file.

Docs links:
https://typestrong.org/ts-node/docs/options#transpilation
https://typestrong.org/ts-node/docs/configuration#via-tsconfigjson-recommended

Setting the TS_NODE_DEBUG environment variable to true might give you some useful logging about what is and is not being ignored, but I haven't looked at the debug logging in a while so I don't remember for certain.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@peteringram0
Comment options

Answer selected by peteringram0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants