require.resolve will still resolve to a JavaScript file #2016
VictorQueiroz
started this conversation in
General
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you run node using
--require ts-node/register
and compile your TypeScript project,require.resolve
calls will resolve to the compiled.js
files and not.ts
. Is there any known solutions to this besides deleting the.js
files?Beta Was this translation helpful? Give feedback.
All reactions