Include node_module module #1544
-
By default ts-node skips everything inside node_modules as per (https://github.com/TypeStrong/ts-node#skipping-node_modules). Is there a flag or a way to include a specific module to be included? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can try fiddling with the Docs links: Setting the |
Beta Was this translation helpful? Give feedback.
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 totrue
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.