Skip to content

Commit ea73cfa

Browse files
fix: resolution algorithm (#875)
1 parent c6d56e4 commit ea73cfa

File tree

6 files changed

+1596
-1
lines changed

6 files changed

+1596
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export default function getPossibleRequests(
256256
return [
257257
...new Set(
258258
[`${dirname}/_${basename}`, request].concat(
259-
forWebpackResolver ? [url] : []
259+
forWebpackResolver ? [`${path.dirname(url)}/_${basename}`, url] : []
260260
)
261261
),
262262
];

0 commit comments

Comments
 (0)