Closed aleclarson closed 2 years ago
I'm hitting an edge case where my process.cwd() is not the value I want register to use.
process.cwd()
register
This PR will let me circumvent that programatically.
require('tsconfig-paths').register({ cwd: 'path/to/cwd', })
Yes, this seems like a good idea :-) Could you update the README file to add this feature to the docs, and also the CHANGELOG file under the "Unreleased" heading?
Done ✅
I'm hitting an edge case where my
process.cwd()
is not the value I wantregister
to use.This PR will let me circumvent that programatically.