ts-node icon indicating copy to clipboard operation
ts-node copied to clipboard

Hook tsconfig "extends" resolver to resolve "ts-node/node14/tsconfig.json" to self when globally installed

Open cspotcode opened this issue 4 years ago • 0 comments

Follow-up to #1202

If running the globally-installed ts-node, and tsconfig "extends" points to a "ts-node/node*/tsconfig.json", and local resolution fails: Fallback resolve to the globally-installed ts-node

Although, in these situations, tsc will fail to resolve. So is this really a good idea? Need to think about it.

cspotcode avatar Feb 23 '21 19:02 cspotcode