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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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