You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
require.resolve will still resolve to a JavaScript file #2013
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?
Activity
cspotcode commentedon May 8, 2023
preferTsExtsshould do the trick