Skip to content

Bug: Same named file resolve in different order than specified in extensions #438

@pke

Description

@pke

Given 2 files

foo.json
foo.tsx

the statement:

import { foo } from "foo"

loads the .json file and not the .tsx.

The order of the extensions mentioned in the config (which lists json as last) does not seem to be relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions