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

--explain-file and/or --explain-import, --cat-file to dump detailed information about how and why ts-node treats a file a certain way

Open cspotcode opened this issue 4 years ago • 0 comments

Info about:

File classification: module or CommonJS? Due to package.json? Or overrides?

Is it transformed? Or ignored? Why? Due to ignore rules? File extension?

Prompt the user to use --cat-file to dump the transformed output to stdout

Expose via API: service.diagnostic.explainImport, etc

cspotcode avatar Sep 16 '21 11:09 cspotcode