babel-plugin-module-resolver
babel-plugin-module-resolver copied to clipboard
Bug: Same named file resolve in different order than specified in extensions
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.