Skip to content

Imports with tsconfig paths and .js extension to .tsx importee don’t resolve #292

Closed
@davidensinger

Description

@davidensinger

Hi,

This is actually a duplicate of GH-234, but I have a branch with a reproduction via the test cases (although I wasn't sure whether to put them within "withPaths" or "withJsExtension" or make new tests "withPathsWithJsExtension"):

davidensinger@9569460

The issue happens with an import with a tsconfig path and .js extension and .tsx importee.

Unrelated, but yarn installation failed for me locally due to eslint@9 getting resolved, while some configs seemed to expect eslint@8. Locally I used "resolutions" to pin the version to "^8.5.7" but decided against putting that in my commit.

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