ts-node
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
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