Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #1504
cspotcode opened this issue Sep 16, 2021 · 0 comments

Comments

@cspotcode
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant