Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pke opened this issue Nov 8, 2022 · 0 comments
Open

Comments

@pke
Copy link

pke commented Nov 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant