Skip to content

When used with tsconfig-paths, tsconfig-paths should use a ts-node provided tsconfig.json path #1948

Open
@rhyek

Description

@rhyek

Desired Behavior

ts-node can resolve a tsconfig.json file relative to the entrypoint script. This is great. It seems tsconfig-paths will instead try to use the current working directory. This means that when combining both, different tsconfig paths will be resolved if you are relying on auto-discovery and the entrypoint script is not located in the cwd.

Is this request related to a problem?

When using tsconfig-paths, I have to either provide the project param explicitly or only use entrypoint scripts in my cwd.

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