Skip to content

Commit bd5a645

Browse files
committed
Run relative resolver first
1 parent 0683d71 commit bd5a645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolvePath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ function resolvePathFromAliasConfig(sourcePath, currentFile, opts) {
9292
}
9393

9494
const resolvers = [
95+
resolvePathFromRelativeConfig,
9596
resolvePathFromAliasConfig,
9697
resolvePathFromRootConfig,
97-
resolvePathFromRelativeConfig,
9898
];
9999

100100
export default function resolvePath(sourcePath, currentFile, opts) {

0 commit comments

Comments
 (0)