Skip to content

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

@cspotcode

Description

@cspotcode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions